jadonk / jadonk/bonescript

Override winston log by config

Open
#183 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
510
Forks
153
PR merge metrics
No merged PRs in 30d

Description

I want to remove info logs, there are so many info logs unnecessary and annoyed me. But the direct use of `winston` package, I am unable to override config for console print those messages.

For production we generally have only `WARN` and `ERROR` logs, but here we are only filtering `DUBUG` logs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the direct use of the winston package and how its console logging configuration is set. Make the log level configurable so production can suppress info and debug messages while retaining warn and error logs, then verify the resulting console output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
observability-sre
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.