Set default log level #880

Closed
opened 3 years ago by KitaitiMakoto · 2 comments
Owner

By introducing tracing crate, Rocket and other crates' logs are suppressed by default. Design suitable log level for each create.

  • In the code It's not recommended by tracing
  • Add RUST_LOG to .env.sample
  • Add on RUST_LOG to documentation, indicating crates which output logs
By introducing tracing crate, Rocket and other crates' logs are suppressed by default. Design suitable log level for each create. - [ ] ~~In the code~~ It's not recommended by tracing - [x] Add `RUST_LOG` to `.env.sample` - [x] Add on `RUST_LOG` to documentation, indicating crates which output logs
KitaitiMakoto added this to the 0.7.0 milestone 3 years ago
Poster
Owner
refs: https://gitlab.com/lo48576/magro/-/blob/11ca40c938e8dc14236c22e1a8e443e44a84f7d0/magro-cli/src/main.rs#L23-34
Poster
Owner

Documentation is here: db3187ef88

Documentation is here: https://git.joinplu.me/plume/documentation/commit/db3187ef88a765b9fcf1a19fc910c9f41218e654
KitaitiMakoto closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Plume/Plume#880
Loading…
There is no content yet.