mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
refactor: trival changes (#41)
- refactor status code - log remote addr and time in miliseconds
This commit is contained in:
@@ -35,7 +35,7 @@ async fn run() -> BoxResult<()> {
|
||||
}
|
||||
env_logger::builder()
|
||||
.format(|buf, record| {
|
||||
let timestamp = buf.timestamp();
|
||||
let timestamp = buf.timestamp_millis();
|
||||
writeln!(buf, "[{} {}] {}", timestamp, record.level(), record.args())
|
||||
})
|
||||
.init();
|
||||
|
||||
Reference in New Issue
Block a user