anyproto / anyproto/any-sync-node
Making the log level configurable
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Go
- Stars
- 73
- Forks
- 20
- Avg merge
- 23h 22m
- Merged PRs (30d)
- 2
Description
Have you read a contributing guide?
- I have read CONTRIBUTING.md
- I have searched the existing requests and didn't find any that were similar
- I have considered creating a pull request instead and want to proceed
Clear and concise description of the problem
Right now log output is unnecessary noisy and it would be great to be able to configure it only to log warnings or errors.
Suggested solution
An ENV variable that allows to configure the log level.
Alternative
No response
Additional context
No response
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
Read CONTRIBUTING.md, then locate the logging setup and the entry points that produce the current log output. Determine how an environment variable should select the log level, and verify that warnings and errors remain visible while lower-priority messages are suppressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100