diff --git a/libsql-server/src/namespace/mod.rs b/libsql-server/src/namespace/mod.rs index 1fe90754d75..73d605e9e1e 100644 --- a/libsql-server/src/namespace/mod.rs +++ b/libsql-server/src/namespace/mod.rs @@ -368,9 +368,10 @@ impl NamespaceStore { snapshot_at_shutdown: bool, max_active_namespaces: usize, ) -> Self { + tracing::trace!("Max active namespaces: {max_active_namespaces}"); let store = Cache::>::builder() - .async_eviction_listener(move |name, ns, _| { - tracing::info!("evicting namespace `{name}` asynchronously"); + .async_eviction_listener(move |name, ns, cause| { + tracing::debug!("evicting namespace `{name}` asynchronously: {cause:?}"); // TODO(sarna): not clear if we should snapshot-on-evict... // On the one hand, better to do so, because we have no idea // for how long we're evicting a namespace.