From 3051b4b84064ecb18c63c7b962a4c9fb22bed175 Mon Sep 17 00:00:00 2001 From: Veniamin Malefioudakis <58257722+benmalef@users.noreply.github.com> Date: Thu, 18 Jul 2024 17:59:08 +0300 Subject: [PATCH] Update GANDLF/utils/gandlf_logger.py Co-authored-by: Sarthak Pati --- GANDLF/utils/gandlf_logger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GANDLF/utils/gandlf_logger.py b/GANDLF/utils/gandlf_logger.py index 8b8d63600..c2efefe83 100644 --- a/GANDLF/utils/gandlf_logger.py +++ b/GANDLF/utils/gandlf_logger.py @@ -48,8 +48,8 @@ def gandlf_logger_setup(log_file=None, config_path="logging_config.yaml"): logging.captureWarnings(True) - if log_file is None: # flash logs - _flash_to_console() + if log_file is None: # flush logs + _flush_to_console() else: # create the log file try: