def configure_logger(app):
    'Configure loggers.'
    handler = logging.StreamHandler(sys.stdout)
    if (not app.logger.handlers):
        app.logger.addHandler(handler)
Configure loggers.
def configure_logger(app):
    
    handler = logging.StreamHandler(sys.stdout)
    if (not app.logger.handlers):
        app.logger.addHandler(handler)