fix: disable cursive_buffered_backend tracing
Disable the useless trace logs from the `cursive_buffered_backend` crate.
This commit is contained in:
committed by
Henrik Friedrichsen
parent
a067ab2ae2
commit
a69e2d763b
@@ -45,8 +45,9 @@ pub fn setup_logging(filename: &Path) -> Result<(), fern::InitError> {
|
|||||||
})
|
})
|
||||||
// Add blanket level filter -
|
// Add blanket level filter -
|
||||||
.level(log::LevelFilter::Trace)
|
.level(log::LevelFilter::Trace)
|
||||||
// - and per-module overrides
|
// Set runtime log level for modules
|
||||||
.level_for("librespot", log::LevelFilter::Debug)
|
.level_for("librespot", log::LevelFilter::Debug)
|
||||||
|
.level_for("cursive_buffered_backend", log::LevelFilter::Debug)
|
||||||
// Output to stdout, files, and other Dispatch configurations
|
// Output to stdout, files, and other Dispatch configurations
|
||||||
.chain(fern::log_file(filename)?)
|
.chain(fern::log_file(filename)?)
|
||||||
// Apply globally
|
// Apply globally
|
||||||
|
|||||||
Reference in New Issue
Block a user