1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 18:37:42 +02:00

normalize logs capital letter (#463)

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
Iskandarov Lev
2022-07-22 22:53:06 +03:00
committed by GitHub
parent 283974f3e6
commit 126ed4c2e3
13 changed files with 39 additions and 38 deletions

View File

@ -64,7 +64,7 @@ async fn run() -> io::Result<()> {
// stream error; bail from loop with error
Err(err) => {
tracing::error!("Stream Error: {:?}", err);
tracing::error!("stream error: {:?}", err);
return Err(());
}
}
@ -74,7 +74,7 @@ async fn run() -> io::Result<()> {
Ok((buf.freeze(), size))
}
})
.map_err(|err| tracing::error!("Service Error: {:?}", err))
.map_err(|err| tracing::error!("service error: {:?}", err))
.and_then(move |(_, size)| {
let num = num2.load(Ordering::SeqCst);
tracing::info!("[{}] total bytes read: {}", num, size);