diff --git a/src/main.rs b/src/main.rs index b43aac9..05dffcf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -73,7 +73,7 @@ async fn main() -> std::io::Result<()> { HttpServer::new(move || { App::new() .app_data(state.clone()) - .wrap(Logger::default()) + .wrap(Logger::new(r#"%{r}a "%r" %s %b "%{Referer}i" "%{User-Agent}i" %T"#)) .service(csv) .service(json) .service(actix_files::Files::new("/", static_dir.clone()).index_file("index.html"))