@@ -61,6 +61,10 @@ pub struct Application {
6161
6262#[cfg(feature = "integration")]
6363fn setup_integration_logging() {
64+ let level = std::env::var("HELIX_LOG_LEVEL")
65+ .map(|lvl| lvl.parse().unwrap())
66+ .unwrap_or(log::LevelFilter::Info);
67+
6468 // Separate file config so we can include year, month and day in file logs
6569 let _ = fern::Dispatch::new()
6670 .format(|out, message, record| {
@@ -72,7 +76,7 @@ fn setup_integration_logging() {
7276 message
7377 ))
7478 })
75− .level(log::LevelFilter::Debug)
79+ .level(level)
7680 .chain(std::io::stdout())
7781 .apply();
7882}