Skip to content

Commit

Permalink
logs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kanewi11 committed Dec 23, 2022
1 parent 70bb7e9 commit ace8dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reactionbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
logger = logging.getLogger(logger_name)
logger.setLevel(logging.INFO)
log_filepath = LOGS_DIR.joinpath(logger_name + '.log')
handler = logging.FileHandler(log_filepath, mode='w')
handler = logging.FileHandler(log_filepath)
handler.setFormatter(formatter)
logger.addHandler(handler)
logger.warning('Start reaction bot.')
Expand Down

0 comments on commit ace8dc9

Please sign in to comment.