1
0
mirror of https://github.com/actix/examples synced 2024-11-23 22:41:07 +01: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
commit 2d3ee94b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ async fn add_user(
#[actix_rt::main]
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();
dotenv::dotenv().ok();