-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
file based logging #598
file based logging #598
Conversation
sarob
commented
Oct 25, 2024
- implements /log/app.log
- app_config.py has new vars
- LOG_TO_FILE
- LOG_TO_CONSOLE
- thread pooling fixes to support file logging
- to support the PR changes - making Hawk to evaluate before applying to job #555
for tracing how well the suitability code is working
when logging is concerned - we need to have module-based logging. As of now we used same logger entire code base, as the result we can't set log level at module levels which increases debugging time and other lot of impacts. |
- more log file mgmt
Hi @sarob can you separate logging from utils.py. like having logging.py which can take care of configuring and managing logger |
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.
Everything is good. Only 1 thing is required. we can move logging configuration from utils.py to separate file logging.py
Will do tomorrow morning. Sean ***@***.*** On Oct 26, 2024, at 20:01, Akhil ***@***.***> wrote:
@surapuramakhil requested changes on this pull request.
Everything is good. Only 1 thing is required. we can move logging configuration from utils.py to separate file logging.py
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I need @feder-cr to resolve the conflict while repo rights and roles are being worked out. I have the suggested changes to move log functions to logging.py ready to push. |
- updates tests and code to use src/logging - exclude log files
for tracing how well the suitability code is working
- more log file mgmt
- updates tests and code to use src/logging - exclude log files
tests pass and double checked functionality |