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:
parent
81cc44dd99
commit
69e4a44a4e
@ -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(|| {
|
||||
|
Loading…
Reference in New Issue
Block a user