Skip to content

Commit

Permalink
added name to log file logging
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Jun 19, 2024
1 parent bf594a5 commit aa0aecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xnat_ingest/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def set_logger_handling(
if log_file.loglevel:
log_file_hdle.setLevel(getattr(logging, log_file.loglevel.upper()))
log_file_hdle.setFormatter(
logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
logging.Formatter("%(asctime)s - %(name)s - %(levelname)s - %(message)s")
)
for logr in loggers:
logr.addHandler(log_file_hdle)
Expand Down

0 comments on commit aa0aecd

Please sign in to comment.