fix: modify logger from warn to info (#842)

* fix: modify logger from warn to info

* upgrade version
This commit is contained in:
houseme
2025-11-12 11:13:38 +08:00
committed by GitHub
parent 7e1a9e2ede
commit d4817a4bea
3 changed files with 21 additions and 18 deletions
@@ -19,7 +19,7 @@ use rustfs_filemeta::{MetaCacheEntries, MetaCacheEntry, MetacacheReader, is_io_e
use std::{future::Future, pin::Pin, sync::Arc};
use tokio::spawn;
use tokio_util::sync::CancellationToken;
use tracing::{error, warn};
use tracing::{error, info, warn};
pub type AgreedFn = Box<dyn Fn(MetaCacheEntry) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + 'static>;
pub type PartialFn =
@@ -99,7 +99,7 @@ pub async fn list_path_raw(rx: CancellationToken, opts: ListPathRawOptions) -> d
match disk.walk_dir(wakl_opts, &mut wr).await {
Ok(_res) => {}
Err(err) => {
error!("walk dir err {:?}", &err);
info!("walk dir err {:?}", &err);
need_fallback = true;
}
}