FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 3602f345 authored by J.W. Smith's avatar J.W. Smith
Browse files

Clearer email logging.

parent 3162cc06
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ print("Make sure to `conda activate py3EWSepi` environment!")
print("Make sure that flagdir package is available (on PYTHONPATH)")
import os
import sys
import json
import shutil
import logging
......@@ -70,12 +71,15 @@ logConfigDict = {
'format' : '%(name)s : %(levelname)s - %(message)s'
},
'detailed' : {
'format' : '''%(levelname)s in %(name)s:
Encountered at %(asctime)s
'format' : f"""
For command:
{' '.join(sys.argv)}
%(levelname)s in %(name)s encountered at %(asctime)s:
%(message)s
Resolve this error and restart processing.''',
Resolve this error and restart processing.""",
'datefmt' : '%Y-%m-%d %H:%M:%S'
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment