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

SLT-1136: Drupal chart: Use JSON as the default formatter for application logs when handled by monolog #470

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

k4lv15
Copy link

@k4lv15 k4lv15 commented Feb 18, 2025

Adjust the default monolog channel handler:

  • set formater to JSON to have structured Drupal logs
  • specify default log processors
  • override monolog's filter_backtrace processor to remove redundant log data which makes sense in Drupal UI but not on stderr

…ilta.services.yml, use JSON as the formatter
…sors for monolog's default channel handler, override filter_backtrace processor to remove redundant data from logs, improve comments
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.

1 participant