From 7c257a07cfbeabfa0c9401cf713684a722c50f8a Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Mon, 15 Feb 2021 13:36:41 +1100 Subject: [PATCH] put debug level up --- tes/tes_wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tes/tes_wsgi.py b/tes/tes_wsgi.py index 3368c5b..9670479 100644 --- a/tes/tes_wsgi.py +++ b/tes/tes_wsgi.py @@ -2,7 +2,7 @@ import logging from logging.handlers import TimedRotatingFileHandler FORMAT = "[%(asctime)s %(thread)d %(levelname)s:%(process)s %(filename)s:%(lineno)s - %(funcName)20s() ] %(message)s" logger=logging.getLogger() -logger.setLevel(logging.WARNING) +logger.setLevel(logging.DEBUG) handler = TimedRotatingFileHandler(filename="/var/log/strudel2/tes.log",when='h',interval=24,backupCount=7) formatter = logging.Formatter(FORMAT) handler.setFormatter(formatter) -- GitLab