FIX api logger log level issue
@@ -16,7 +16,12 @@ def _get_logger(logger_name):
# Initialize a logger for this app with the logger
# name specified
+ streamer = logging.StreamHandler()
+ formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
+ streamer.setFormatter(formatter)
_logger = logging.getLogger(logger_name)
+ _logger.setLevel(logging.NOTSET)
+ _logger.addHandler(streamer)
return _logger
