added logging and small tweaks
This commit is contained in:
parent
23750b92b3
commit
c05b24263b
@ -22,7 +22,7 @@ handler = TimedRotatingFileHandler(
|
|||||||
'garfbot.log',
|
'garfbot.log',
|
||||||
when='midnight',
|
when='midnight',
|
||||||
interval=1,
|
interval=1,
|
||||||
backupcount=7
|
backupCount=7
|
||||||
)
|
)
|
||||||
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