axodotdev / axodotdev/axocli

log files

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
16
Forks
0
PR merge metrics
No merged PRs in 30d

Description

oranda needs this

orogene has a super complicated/robust solution:

> https://github.com/orogene/orogene/blob/main/src/lib.rs#L145-L255 and https://github.com/orogene/orogene/blob/main/src/lib.rs#L295-L306 set up logging, and also automatically always logging to a log file in the cache, then if there's an error, it says "here's where the log file is, if you want it. It also keeps the most recent 5 logs for you in case you wanna go back and see.
>
> oh and it also has all the stuff you need so you can provide the really fancy EnvFilter strings to --loglevel, instead of just warn/info/etc (--loglevel node_maintainer=trace,warn)

Contributor guide

Open the contributing guide

Research direction

Read the linked orogene src/lib.rs ranges first to understand its logging setup, cache files, retention, error reporting, and EnvFilter handling. Then locate axocli's CLI and error-handling entry points; done should include cached log files, retention of the five most recent logs, an error message pointing to the log, and support for EnvFilter-style --loglevel values.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.