-
Notifications
You must be signed in to change notification settings - Fork 189
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
Reduce log spam #1252
Comments
@Jenn, working on this PR involves the following:
Start with this and let's discuss as you go. You can ask questions here or in Slack about particular bits of code. There's no "right" way to do this (some judgement is involved), but our overall goal is to reduce the amount of noise we make in production, where we probably only care about |
Our logging is great, but too noisy by default. It's nice to log all kinds of things re: feed parsing and network errors, but they fill the log with spam that doesn't matter when you're developing or trying to debug a problem on production.
Our logger, Pino, has these levels:
For production, we probably only care about error/critical, and for normal development, probably only info and up.
Let's audit our logging calls and change the level we use. Especially for the places where we do feed logging, let's make that
debug
or something vs.info
.The text was updated successfully, but these errors were encountered: