Skip to content

Commit

Permalink
Merge pull request #122 from European-XFEL/log-newline
Browse files Browse the repository at this point in the history
Add a newline to the log before reprocessing a run
  • Loading branch information
JamesWrigley authored Nov 1, 2023
2 parents 4bd924f + bd71f9d commit 0bcc228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion damnit/backend/extract_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def reprocess(runs, proposal=None, match=(), mock=False):
file_handler.setFormatter(log_formatter)
logging.getLogger().addHandler(file_handler)
try:
log.info("----- Reprocessing r%s (p%s) -----", run, prop)
log.info("\n\n----- Reprocessing r%s (p%s) -----", run, prop)
extr.extract_and_ingest(prop, run, match=match, mock=mock, tee_output=log_path)
except Exception:
log.error("Exception while extracting p%s r%s", run, prop, exc_info=True)
Expand Down

0 comments on commit 0bcc228

Please sign in to comment.