logging_handler.py: Set StreamHandler to Standard Out

This commit is contained in:
Mykola Grymalyuk
2023-02-05 16:31:49 -07:00
parent b97a3bc4d8
commit b141452005
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ class InitializeLoggingSupport:
level=logging.NOTSET,
format="%(asctime)s - %(filename)s (%(lineno)d): %(message)s",
handlers=[
logging.StreamHandler(),
logging.StreamHandler(stream = sys.stdout),
logging.FileHandler(self.log_filepath) if log_to_file is True else logging.NullHandler()
],
)