Merge pull request #3990 from influxdata/dom/log-spam

refactor: drop trace log verbosity
pull/24376/head
kodiakhq[bot] 2022-03-09 20:18:02 +00:00 committed by GitHub
commit 59d6bee531
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ use std::str::FromStr;
use std::sync::Arc;
use http::HeaderMap;
use observability_deps::tracing::info;
use observability_deps::tracing::*;
use snafu::Snafu;
use trace::ctx::{SpanContext, SpanId, TraceId};
@ -124,7 +124,7 @@ impl TraceHeaderParser {
// It would be nice to record the debug-name in the span somehow for easy finding in Jaeger
// for now, also log it.
let trace_id = format!("{:x}", new_trace_context.trace_id.get());
info!(%trace_id, ?debug_header_value, "Created new trace rooted at IOx");
trace!(%trace_id, ?debug_header_value, "Created new trace rooted at IOx");
return Ok(Some(new_trace_context));
}
}