1
0
mirror of https://github.com/actix/examples synced 2024-11-23 14:31:07 +01:00

Fix logging in basics example (#221)

This commit is contained in:
kamnxt 2019-12-27 02:39:57 +09:00 committed by Nikolay Kim
parent 81cc44dd99
commit 69e4a44a4e

View File

@ -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(|| {