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 4dd0259 commit b1289bdCopy full SHA for b1289bd
main.py
@@ -24,7 +24,7 @@
24
BOT_TOKEN = "<your_bot_token>"
25
26
logfile_dir_path = os.path.dirname(os.path.abspath(__file__))
27
-logfile_abs_path = os.path.join(logfile_dir_path, "bot.log")
+logfile_abs_path = os.path.join(logfile_dir_path, "logs", "bot.log")
28
logfile_handler = logging.FileHandler(logfile_abs_path, 'a', 'utf-8')
29
30
logger = logging.getLogger(__name__)
0 commit comments