ENV to Change Logging Output
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 232
- Forks
- 77
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 17
Description
Some users would like error logs printed to stderr with appropriate log levels. We do still want to keep our current logging of printing all json strings to stdout. Maybe support printing logs to files again too.
See API/logger.js
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading API/logger.js and trace how the current JSON strings are written to stdout. Define the environment-controlled behavior for stderr log levels and any file output while preserving stdout JSON logging; done means the requested output modes work without changing the existing stdout behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend, observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100