@@ -61,6 +61,10 @@ pub struct Application {
62#[cfg(feature = "integration")]
62#[cfg(feature = "integration")]
63fn setup_integration_logging() {
63fn setup_integration_logging() {
64+ let level = std::env::var("HELIX_LOG_LEVEL")
65+ .map(|lvl| lvl.parse().unwrap())
66+ .unwrap_or(log::LevelFilter::Info);
64 // Separate file config so we can include year, month and day in file logs
68 // Separate file config so we can include year, month and day in file logs
65 let _ = fern::Dispatch::new()
69 let _ = fern::Dispatch::new()
66 .format(|out, message, record| {
70 .format(|out, message, record| {
@@ -72,7 +76,7 @@ fn setup_integration_logging() {
75− .level(log::LevelFilter::Debug)
79+ .level(level)
76 .chain(std::io::stdout())
80 .chain(std::io::stdout())