Skip to content

log files #2

Description

@Gankra

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions