From 5c942be0337e314a89d7cc1b235ee62f3c91f526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 1 Feb 2023 12:46:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20log=20name=20pattern=20for?= =?UTF-8?q?=20auth=20&=20tornado=20log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/octoprint/__init__.py b/src/octoprint/__init__.py index 33f6afc40..3f102e758 100644 --- a/src/octoprint/__init__.py +++ b/src/octoprint/__init__.py @@ -323,6 +323,7 @@ def init_logging( "class": "octoprint.logging.handlers.TornadoLogHandler", "level": "DEBUG", "formatter": "tornado", + "when": "D", "backupCount": 1, "filename": os.path.join( settings.getBaseFolder("logs"), "tornado.log" @@ -332,6 +333,7 @@ def init_logging( "class": "octoprint.logging.handlers.AuthLogHandler", "level": "DEBUG", "formatter": "auth", + "when": "D", "backupCount": 1, "filename": os.path.join(settings.getBaseFolder("logs"), "auth.log"), },