From dce97afbc251a9fb416f28b8bbcccedc358c9c59 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 13 Feb 2021 00:06:33 +0000 Subject: [PATCH] config: Drop spurious dbg! logging Signed-off-by: Ian Jackson --- src/config.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/config.rs b/src/config.rs index 7fb0bcac..5e1dfd7f 100644 --- a/src/config.rs +++ b/src/config.rs @@ -141,15 +141,12 @@ impl TryFrom for WholeServerConfig { // But we can simulate this by having it convert the env results // to toml and merging it with the stuff from the file. (||{ - dbg!(&log); if let Some(v) = env::var_os(LOG_ENV_VAR) { let v = v.to_str().ok_or(anyhow!("UTF-8 conversion"))?; let v = LogSpecification::parse(v).context("parse")?; - dbg!(&v); let mut buf: Vec = default(); v.to_toml(&mut buf).context("convert to toml")?; let v = toml_de::from_slice(&buf).context("reparse")?; - dbg!(&v); match v { Some(Table(v)) => toml_merge(&mut log, &v), None => default(), @@ -161,7 +158,6 @@ impl TryFrom for WholeServerConfig { .context(LOG_ENV_VAR) .context("processing env override")?; - dbg!(&log); Table(log) }; -- 2.30.2