Skip to content

Conversation

halostatue
Copy link
Contributor

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 through after_send_event.

Copy link
Contributor

@mitchellhenke mitchellhenke left a 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!

Copy link
Contributor

@mitchellhenke mitchellhenke left a 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 🙂

Copy link
Contributor

@mitchellhenke mitchellhenke left a 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! 🙂

@mitchellhenke mitchellhenke merged commit ace9faf into getsentry:master Apr 17, 2019
@halostatue halostatue deleted the configurable-log-level branch April 17, 2019 16:11
@halostatue
Copy link
Contributor Author

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).

@mitchellhenke
Copy link
Contributor

@halostatue just published 7.0.6 to Hex 🙂

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