From c9bf097595c8d580b72b93fbbd207a4fbc9003df Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Fri, 3 Jul 2026 22:11:05 +0800 Subject: [PATCH] fix(storage): enrich versioning fallback log (#4241) --- rustfs/src/storage/options.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rustfs/src/storage/options.rs b/rustfs/src/storage/options.rs index eac029fd6..2e83b8a28 100644 --- a/rustfs/src/storage/options.rs +++ b/rustfs/src/storage/options.rs @@ -55,7 +55,11 @@ async fn bucket_versioning_config(bucket: &str) -> VersioningConfiguration { match BucketVersioningSys::get(bucket).await { Ok(cfg) => cfg, Err(err) => { - tracing::warn!("{:?}", err); + tracing::warn!( + bucket = %bucket, + error = ?err, + "failed to load bucket versioning configuration; using default configuration" + ); VersioningConfiguration::default() } }