Skip to content
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

Enhance logging details and verbosity #904

Merged
merged 4 commits into from
Oct 15, 2024
Merged

Conversation

keevan
Copy link
Contributor

@keevan keevan commented Oct 10, 2024

Verbosity / min log level setting (per dataflow)

image

Log comparison:

Before:
[2024-10-10 11:08:57.219433] dataflow/12.WARNING: Log: Example log entry 1 [] []
After:
[2024-10-10 11:08:57.219433] dataflow/12.WARNING: Log: Example log entry 1 {"first":"1","second":"2","third":"3"} []

Example test dataflow:
log_testing_20241010_0254.yml.txt

@keevan keevan changed the title tweak logging Enhance logging details and verbosity Oct 13, 2024
db/install.xml Outdated Show resolved Hide resolved
@Peterburnett
Copy link
Contributor

There is a test failure as well about a non matching list of params.

Copy link
Contributor

@Peterburnett Peterburnett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test fail needs to be fixed

@keevan keevan force-pushed the tweak-logging branch 4 times, most recently from 1234567 to 1234567 Compare October 14, 2024 23:39
- update providers to static functions
- @param phpdocs
- phpdocs, trait docs, static providers
- remove unused use statements
- remove void return type and docs
- fix Throwable includes
@keevan keevan enabled auto-merge October 15, 2024 22:14
@keevan keevan merged commit d96331d into MOODLE_401_STABLE Oct 15, 2024
15 checks passed
@keevan keevan deleted the tweak-logging branch October 15, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants