From 581029e1c7c7c46a127919bad5b718c64692210f Mon Sep 17 00:00:00 2001 From: abcrate <150547876+abcrate@users.noreply.github.com> Date: Mon, 20 Nov 2023 10:23:53 -0600 Subject: [PATCH] log buffer tweak --- garfbot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/garfbot.py b/garfbot.py index 810f952..18cb9b3 100644 --- a/garfbot.py +++ b/garfbot.py @@ -22,7 +22,8 @@ handler = TimedRotatingFileHandler( 'garfbot.log', when='midnight', interval=1, - backupCount=7 + backupCount=7, + delay=True # Flush output immediately ) formatter=logging.Formatter( '%(asctime)s [%(levelname)s] %(message)s',