We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 821a6e1 commit c5ebdf0Copy full SHA for c5ebdf0
main.py
@@ -47,7 +47,7 @@
47
48
sh = logging.StreamHandler()
49
# add a rotating handler
50
-fh = logging.handlers.RotatingFileHandler('/home/pi/coderbot/logs/coderbot.log', maxBytes=1000000, backupCount=5)
+fh = logging.handlers.RotatingFileHandler('./logs/coderbot.log', maxBytes=1000000, backupCount=5)
51
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
52
sh.setFormatter(formatter)
53
fh.setFormatter(formatter)
0 commit comments