Browse Source

removes trace logging in InfluxWriter

master
Jonathan Strong 6 years ago
parent
commit
e8f83b88d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/influx.rs

+ 1
- 1
src/influx.rs View File

@@ -300,7 +300,7 @@ impl InfluxWriter {

if meas.timestamp.is_none() { meas.timestamp = Some(now()) }

#[cfg(feature = "trace")] { if count % 10 == 0 { trace!(logger, "rcvd new measurement"; "count" => count, "key" => meas.key); } }
//#[cfg(feature = "trace")] { if count % 10 == 0 { trace!(logger, "rcvd new measurement"; "count" => count, "key" => meas.key); } }

count = next(count, &meas, &mut buf);
}


Loading…
Cancel
Save