-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve log outputs #490
base: master
Are you sure you want to change the base?
Improve log outputs #490
Conversation
… store log file in CI artifacts
@@ -25,7 +25,7 @@ jobs: | |||
- name: Install Python dependencies | |||
run: | | |||
python -m pip install --upgrade pip | |||
pip install flake8==6.0 | |||
pip install flake8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previously had to set the version due to a bug, but that has been corrected with the current flake8.
# Write logger to console | ||
console_handler = logging.StreamHandler() | ||
console_handler.setFormatter(root_format) | ||
logger.addHandler(console_handler) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All logging info is now printed to the console, this does not really change what was output, and mostly just replaces print statements
Fixes #404
Improve ecm_prep logging, updates include:
verboseprint()
logger.info
,logger.warning
, orlogger.error
This CI run shows the ecm_prep log file that is created and stored as an artifact, the new console outputs look like:
