Skip to content

Commit

Permalink
Update GANDLF/utils/gandlf_logger.py
Browse files Browse the repository at this point in the history
Co-authored-by: Sarthak Pati <[email protected]>
  • Loading branch information
benmalef and sarthakpati authored Jul 18, 2024
1 parent d357fff commit 3051b4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GANDLF/utils/gandlf_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3051b4b

Please sign in to comment.