n0-computer / n0-computer/dumbpipe
Allow writing logs to a file
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 782
- Forks
- 52
- PR merge metrics
- No merged PRs in 30d
Description
Currently you can only generate logs using the RUST_LOG environment variable. It would be nice if users could easily produce logfiles without any ansi colouring etc. Maybe a --logfile path/to/logfile --loglevel debug. Or some other ways. But this should be easy for users to use.
Contributor guide
No contributing guide indexed for this repository
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 locating how the application currently handles the RUST_LOG environment variable and where command-line options are defined. Compare possible logfile and loglevel interfaces, including removal of ANSI coloring, and establish a focused behavior and test plan before implementing. Done means users can configure file logging through a documented, tested interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100