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"), },