diff --git a/Cargo.lock b/Cargo.lock index a14acfd80..b0d96c05e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1942,7 +1942,7 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "logdna-agent" -version = "3.9.0-dev" +version = "3.9.0-dev-logging" dependencies = [ "anyhow", "api", diff --git a/common/fs/src/tail.rs b/common/fs/src/tail.rs index c87e186c2..3d36910eb 100644 --- a/common/fs/src/tail.rs +++ b/common/fs/src/tail.rs @@ -56,7 +56,7 @@ async fn handle_event( let entry = entries.get(entry_ptr)?; let paths = fs.resolve_valid_paths(entry, &entries); if !paths.is_empty() { - tracing::Span::current().record("file_path", &paths[0].as_path().to_str().unwrap()); + tracing::Span::current().record("file_path", paths[0].as_path().to_str().unwrap()); } } }