We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b2c829 commit e14d8acCopy full SHA for e14d8ac
src/logging.rs
@@ -31,7 +31,10 @@ pub fn setup_layers(
31
let emit_kvp_layer = match EmitKVPLayer::new(std::path::PathBuf::from(
32
"/var/lib/hyperv/.kvp_pool_1",
33
)) {
34
- Ok(layer) => Some(layer),
+ Ok(layer) => {
35
+ let filter = EnvFilter::new("INFO");
36
+ Some(layer.with_filter(filter))
37
+ }
38
Err(e) => {
39
event!(Level::ERROR, "Failed to initialize EmitKVPLayer: {}. Continuing without KVP logging.", e);
40
None
0 commit comments