-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Drop Logger backends #4862
Drop Logger backends #4862
Conversation
|
Logger.add_backend(Sentry.LoggerBackend) | ||
:logger.add_handler(:sentry_handler, Sentry.LoggerHandler, %{ | ||
config: %{capture_log_messages: true, level: :error} | ||
}) |
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.
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.
@cnkk 👋 Would you be able to merge it when you have time? I think it would be safer this way since I don't have access to Plausible's logs / Sentry / etc. and won't be able to see if anything goes wrong. |
Changes
This PR switches from Logger backends to
:logger
handlers.Card: https://3.basecamp.com/5308029/buckets/29267832/card_tables/cards/7610404292
Some time later, once or if there is a need for structured logging, we can also replace ExJsonFormatter with something else.
Tests
Changelog
Documentation
Dark mode