Skip to content

Commit d44d995

Browse files
committed
Remove debug log
1 parent 7784a8d commit d44d995

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

bottlecap/src/lifecycle/invocation/processor.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,8 @@ impl Processor {
285285
/// This is used to create a cold start span, since this telemetry event does not
286286
/// provide a `request_id`, we try to guess which invocation is the cold start.
287287
pub fn on_platform_init_start(&mut self, time: DateTime<Utc>, runtime_version: Option<String>) {
288-
if let Some(ref rv) = runtime_version {
289-
debug!("Runtime version: {}", rv);
290-
if rv.contains("DurableFunction") {
291-
self.enhanced_metrics.set_durable_function_tag();
292-
}
288+
if runtime_version.as_deref().map_or(false, |rv| rv.contains("DurableFunction")) {
289+
self.enhanced_metrics.set_durable_function_tag();
293290
}
294291
let start_time: i64 = SystemTime::from(time)
295292
.duration_since(UNIX_EPOCH)

0 commit comments

Comments
 (0)