You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace console.log with a logger that is performant, can log structured json data and has support for async transports to process and write logs.
Why is this feature important?
Without structured data, logs become very difficult to read in production consoles and make debugging issues much harder. It's important to have this before we deploy hubs to AWS.
Will the protocol spec need to be updated??
No
How should this feature be built? (optional)
Add pino and replace all existing instances of console.log.
Also add an eslint rule to prevent checking in code with console.log going forward.
What is the feature you would like to implement?
Replace
console.log
with a logger that is performant, can log structured json data and has support for async transports to process and write logs.Why is this feature important?
Without structured data, logs become very difficult to read in production consoles and make debugging issues much harder. It's important to have this before we deploy hubs to AWS.
Will the protocol spec need to be updated??
No
How should this feature be built? (optional)
console.log
going forward.Additional context
https://github.com/pinojs/pino/blob/master/docs/benchmarks.md
goldbergyoni/nodebestpractices#684
The text was updated successfully, but these errors were encountered: