logMessages 2 Disk

This commit is contained in:
SpudGunMan
2024-08-06 14:45:39 -07:00
parent 4549e6786f
commit dcd1c4235c
4 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -58,4 +58,5 @@ file_handler.setFormatter(logging.Formatter(msgLogFormat))
# Add handlers to the logger
logger.addHandler(stdout_handler)
msgLogger.addHandler(file_handler)
if log_messages_to_file:
msgLogger.addHandler(file_handler)