n0-computer / n0-computer/dumbpipe

Allow writing logs to a file

Open
#40 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.