log buffer tweak
This commit is contained in:
parent
c05b24263b
commit
581029e1c7
@ -22,7 +22,8 @@ handler = TimedRotatingFileHandler(
|
|||||||
'garfbot.log',
|
'garfbot.log',
|
||||||
when='midnight',
|
when='midnight',
|
||||||
interval=1,
|
interval=1,
|
||||||
backupCount=7
|
backupCount=7,
|
||||||
|
delay=True # Flush output immediately
|
||||||
)
|
)
|
||||||
formatter=logging.Formatter(
|
formatter=logging.Formatter(
|
||||||
'%(asctime)s [%(levelname)s] %(message)s',
|
'%(asctime)s [%(levelname)s] %(message)s',
|
||||||
|
Loading…
Reference in New Issue
Block a user