-
-
Notifications
You must be signed in to change notification settings - Fork 206
Allow configuration of Sentry log level #334
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
Allow configuration of Sentry log level #334
Conversation
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.
Huge thanks for opening this PR @halostatue! 🙂
It looks really good overall, and I've left a few of comments on changes if you'd like to handle them. If not, I can likely take care of them by the end of the week.
Thanks again!
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.
Thanks for the quick updates! One final change and I'll merge this 🙂
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.
Thank you so much for the contribution and quick responses on feedback! 🙂
Hopefully we can get a release soon that includes this so that I can start silencing some of our noisier errors on a spike and reporting the errors we care about (we’re getting a number of JSON encoding errors because of tuples in our data that we can’t quite localize). |
@halostatue just published |
Implements the feature of #304
Because
Logger
has explicit permitted macro levels, I’ve put in some validation.We’re currently experiencing periodic spike protection and the Sentry logging is also causing some spiking on our log service, too (and because of the
?\n
in the log, each Sentry send failure is taking up three log lines). I’d like to handle such logging throughafter_send_event
.