mirror of
https://github.com/actix/examples
synced 2025-06-28 18:00:37 +02:00
Fix logging in basics example (#221)
This commit is contained in:
@ -66,7 +66,7 @@ async fn with_param(req: HttpRequest, path: web::Path<(String,)>) -> HttpRespons
|
||||
|
||||
#[actix_rt::main]
|
||||
async fn main() -> io::Result<()> {
|
||||
env::set_var("RUST_LOG", "actix_web=debug;actix_server=info");
|
||||
env::set_var("RUST_LOG", "actix_web=debug,actix_server=info");
|
||||
env_logger::init();
|
||||
|
||||
HttpServer::new(|| {
|
||||
|
Reference in New Issue
Block a user