From 76905102b48f6edec30d02ce4a58d33ea940dadf Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Tue, 12 Nov 2019 14:36:47 +0100 Subject: [PATCH] Rotating file log --- hugvey_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hugvey_server.py b/hugvey_server.py index f32289f..e16d502 100644 --- a/hugvey_server.py +++ b/hugvey_server.py @@ -48,6 +48,7 @@ if __name__ == '__main__': logFileHandler.setFormatter(logging.Formatter( fmt="%(asctime)s %(name)s[%(process)d,%(threadName)s] %(levelname)s %(message)s" )) + logFileHandler.setLevel(logging.DEBUG) logger.addHandler(logFileHandler) # logger.setLevel(1) # to send all records to cutelog