From 0d0285a296c7bd113ce6a654f78b6a2f329b7b75 Mon Sep 17 00:00:00 2001 From: plgmlesniak Date: Tue, 15 Oct 2024 08:38:55 +0200 Subject: [PATCH] ISEPOS-2280 Adjusted log file name in comment --- python/logging/base_logger.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/logging/base_logger.py b/python/logging/base_logger.py index b4234d8..a0f7067 100644 --- a/python/logging/base_logger.py +++ b/python/logging/base_logger.py @@ -11,7 +11,7 @@ def getDefaultLogger(name): Retrieves or creates a logger with the specified name and sets it up with a file handler. The logger is configured to write log messages to the file path specified by the - 'DEFAULT_LOG_PATH' environment variable. It uses the 'INFO' level as the default + 'APP_LOG_FILE' environment variable. It uses the 'INFO' level as the default logging level and writes log entries in the following format: 'YYYY-MM-DD HH:MM:SS,ms LEVEL logger_name message' @@ -30,13 +30,13 @@ def getDefaultLogger(name): -------- logger : logging.Logger A logger instance with the specified name. The logger is configured with a - file handler that writes to the file specified by the 'DEFAULT_LOG_PATH' + file handler that writes to the file specified by the 'APP_LOG_FILE' environment variable. Raises: ------- KeyError: - If the 'DEFAULT_LOG_PATH' environment variable is not set. + If the 'APP_LOG_FILE' environment variable is not set. Example: --------