diff --git a/meilisearch/src/routes/logs.rs b/meilisearch/src/routes/logs.rs index ae93f0ea5..db80d976d 100644 --- a/meilisearch/src/routes/logs.rs +++ b/meilisearch/src/routes/logs.rs @@ -172,7 +172,7 @@ fn make_layer< (Box::new(fmt_layer) as Box + Send + Sync>, Box::pin(stream)) } LogMode::Profile => { - let (trace, layer) = tracing_trace::Trace::new(); + let (trace, layer) = tracing_trace::Trace::new(opt.profile_memory); let stream = entry_stream(trace, guard);