Skip to content

Commit

Permalink
Changed the logging message to log only metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Attieh authored and Joseph Attieh committed Sep 29, 2023
1 parent 9325e01 commit f6dffdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mammoth/utils/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def init_valid_logger(
log_level=logging.DEBUG,
gpu_id='',
):
log_format = logging.Formatter(f"[%(asctime)s %(process)s {gpu_id} %(levelname)s] %(message)s")
log_format = logging.Formatter(f"%(message)s")
logger = logging.getLogger("valid_logger")
logger.setLevel(log_level)
console_handler = logging.StreamHandler()
Expand Down

0 comments on commit f6dffdf

Please sign in to comment.