Log records uniformly use tracing

This commit is contained in:
houseme
2025-04-01 23:27:48 +08:00
parent 28edca1b63
commit de0e9bee20
3 changed files with 22 additions and 23 deletions
Generated
-1
View File
@@ -6680,7 +6680,6 @@ dependencies = [
"lazy_static", "lazy_static",
"local-ip-address", "local-ip-address",
"lock", "lock",
"log",
"madmin", "madmin",
"matchit 0.8.6", "matchit 0.8.6",
"mime", "mime",
+1 -1
View File
@@ -16,7 +16,7 @@ workspace = true
[dependencies] [dependencies]
madmin.workspace = true madmin.workspace = true
log.workspace = true #log.workspace = true
async-trait.workspace = true async-trait.workspace = true
bytes.workspace = true bytes.workspace = true
clap.workspace = true clap.workspace = true
+1 -1
View File
@@ -46,7 +46,6 @@ use futures::pin_mut;
use futures::{Stream, StreamExt}; use futures::{Stream, StreamExt};
use http::HeaderMap; use http::HeaderMap;
use lazy_static::lazy_static; use lazy_static::lazy_static;
use log::warn;
use policy::auth; use policy::auth;
use policy::policy::action::Action; use policy::policy::action::Action;
use policy::policy::action::S3Action; use policy::policy::action::S3Action;
@@ -70,6 +69,7 @@ use tokio_util::io::StreamReader;
use tracing::debug; use tracing::debug;
use tracing::error; use tracing::error;
use tracing::info; use tracing::info;
use tracing::warn;
use transform_stream::AsyncTryStream; use transform_stream::AsyncTryStream;
use uuid::Uuid; use uuid::Uuid;