Skip to content

Commit

Permalink
change log to warn
Browse files Browse the repository at this point in the history
  • Loading branch information
berinaniesh committed Oct 31, 2023
1 parent 54d785b commit e256477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async fn main() -> std::io::Result<()> {
let port: u16 = port_string.parse().unwrap_or(7000);
let pool = PgPoolOptions::new().connect(db_url.as_str()).await.unwrap();
let app_data = AppData { pool };
std::env::set_var("RUST_LOG", "info");
std::env::set_var("RUST_LOG", "warn");
env_logger::init();
let server = HttpServer::new(move || {
App::new()
Expand Down

0 comments on commit e256477

Please sign in to comment.