1
0
mirror of https://github.com/actix/examples synced 2025-06-28 09:50:36 +02:00

Merge pull request #324 from foisonocean/remove-diesel-log-env-var

This commit is contained in:
Rob Ede
2020-05-20 12:55:10 +01:00
committed by GitHub

View File

@ -64,7 +64,7 @@ async fn add_user(
#[actix_rt::main] #[actix_rt::main]
async fn main() -> std::io::Result<()> { async fn main() -> std::io::Result<()> {
std::env::set_var("RUST_LOG", "actix_web=info,diesel=debug"); std::env::set_var("RUST_LOG", "actix_web=info");
env_logger::init(); env_logger::init();
dotenv::dotenv().ok(); dotenv::dotenv().ok();