Set default log level #880

Closed
opened 2021-01-16 05:39:12 +00:00 by KitaitiMakoto · 2 comments

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 2021-01-16 07:06:26 +00:00
Author
Owner
refs: https://gitlab.com/lo48576/magro/-/blob/11ca40c938e8dc14236c22e1a8e443e44a84f7d0/magro-cli/src/main.rs#L23-34
Author
Owner

Documentation is here: db3187ef88

Documentation is here: https://git.joinplu.me/plume/documentation/commit/db3187ef88a765b9fcf1a19fc910c9f41218e654
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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
No description provided.