Skip to content

Commit 2056c19

Browse files
committed
fix log location
1 parent 17cf0ab commit 2056c19

File tree

1 file changed

+1
-2
lines changed
  • crates/datadog-serverless-compat/src

1 file changed

+1
-2
lines changed

crates/datadog-serverless-compat/src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ const AGENT_HOST: &str = "0.0.0.0";
4646

4747
#[tokio::main]
4848
pub async fn main() {
49-
info!("Stats test - buffer length: configurable / default 90, bucket duration: 10");
50-
5149
let log_level = env::var("DD_LOG_LEVEL")
5250
.map(|val| val.to_lowercase())
5351
.unwrap_or("info".to_string());
@@ -106,6 +104,7 @@ pub async fn main() {
106104

107105
#[allow(clippy::expect_used)]
108106
tracing::subscriber::set_global_default(subscriber).expect("setting default subscriber failed");
107+
info!("Stats test - buffer length: configurable / default 90, bucket duration: 10");
109108

110109
debug!("Logging subsystem enabled");
111110

0 commit comments

Comments
 (0)