added logging and small tweaks

This commit is contained in:
abcrate 2023-11-20 10:07:19 -06:00 committed by GitHub
parent 23750b92b3
commit c05b24263b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ handler = TimedRotatingFileHandler(
'garfbot.log',
when='midnight',
interval=1,
backupcount=7
backupCount=7
)
formatter=logging.Formatter(
'%(asctime)s [%(levelname)s] %(message)s',