diff --git a/functions/create_logger.py b/functions/create_logger.py index 8fcfa8a..b7e746f 100644 --- a/functions/create_logger.py +++ b/functions/create_logger.py @@ -13,7 +13,7 @@ def create_logger( logger.setLevel(logging.DEBUG) if save_logging_messages: - time_format = "%b %-d %Y %H:%M:%S" + time_format = "%b %d %Y %H:%M:%S" logformat = "%(asctime)s %(message)s" file_formatter = logging.Formatter(fmt=logformat, datefmt=time_format) os.makedirs("logs_" + log_stage_name, exist_ok=True)