diff --git a/setup.py b/setup.py index 41068b4a65e3faaa61e82eac2aebb63fd8e678c7..8da10a662532e3e8bd41a69c265eb3babf115743 100644 --- a/setup.py +++ b/setup.py @@ -92,7 +92,7 @@ install_requires = [ "pymunge==0.1.3", "pypandoc==1.13", "python-dateutil==2.8.2", - "python-json-logger==2.0.7" + "python-json-logger==2.0.7", "pyyaml==6.0.1", "pyzmq==25.1.2", "requests==2.29.0", diff --git a/src/xfel_calibrate/setup_logging.py b/src/xfel_calibrate/setup_logging.py index 8a233b1381db2029bb42946f9f68a0d222985a50..28048f71c11f20ad76634ab5d41e289ff29cc020 100644 --- a/src/xfel_calibrate/setup_logging.py +++ b/src/xfel_calibrate/setup_logging.py @@ -52,7 +52,7 @@ def create_job_specific_handler(log_level, file_suffix): # Create job-specific file handlers error_handler = create_job_specific_handler(logging.ERROR, 'errors') warning_handler = create_job_specific_handler(logging.WARNING, 'warnings') -info_handler = create_job_specific_handler(logging.DEBUG, 'info') +info_handler = create_job_specific_handler(logging.INFO, 'info') # Avoid errors being logged in warnings.json warning_handler.addFilter(lambda record: record.levelno < logging.ERROR)