From 2dc4de9dffaa4622d3ff2b2b44fce2f158443457 Mon Sep 17 00:00:00 2001 From: ahmedk <karim.ahmed@xfel.eu> Date: Wed, 25 Sep 2024 17:53:13 +0200 Subject: [PATCH] fix: setup.py --- setup.py | 2 +- src/xfel_calibrate/setup_logging.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 41068b4a6..8da10a662 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 8a233b138..28048f71c 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) -- GitLab