diff --git a/sugar/logger.py b/sugar/logger.py index 56d66c60..7fe1223b 100644 --- a/sugar/logger.py +++ b/sugar/logger.py @@ -39,6 +39,8 @@ class LogWriter: def write(self, level, msg): if level == logging.ERROR: level_txt = 'ERROR' + elif level == logging.WARNING: + level_txt = 'WARNING' elif level == logging.DEBUG: level_txt = 'DEBUG' elif level == logging.INFO: