Skip to content
Snippets Groups Projects
Commit 2dc4de9d authored by Karim Ahmed's avatar Karim Ahmed
Browse files

fix: setup.py

parent 710625a2
No related branches found
No related tags found
1 merge request!1059[webservice] Intoduce Global Logger for xfel-calibrate
......@@ -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",
......
......@@ -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)
......
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