Use a more compact console log message format, silence CherryPy server info logging
@@ -53,7 +53,7 @@ logger: logging.Logger = logging.getLogger("appwide")
logger.setLevel(logging.DEBUG)
console_handler = logging.StreamHandler()
console_handler.setLevel(logging.DEBUG)
-formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s')
+formatter = logging.Formatter('%(asctime)s %(levelname)s %(message)s', '%m-%d %H:%M:%S')
console_handler.setFormatter(formatter)
logger.addHandler(console_handler)
@@ -63,6 +63,7 @@ history_handler.setFormatter(formatter)
logger.addHandler(history_handler)
logging.getLogger("cherrypy.error").addHandler(history_handler)
logging.getLogger("cherrypy.error").addHandler(console_handler)
+logging.getLogger("cherrypy.error").setLevel(logging.WARNING)
class LogBase(object):
