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() } }