mirror of
https://github.com/actix/examples
synced 2025-01-22 22:05:57 +01:00
remove diesel=debug
in env var
This commit is contained in:
parent
ee7ec592f4
commit
8973f5bb08
@ -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();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user