Quiet some logs in debug mode
This commit is contained in:
		
							parent
							
								
									9c7c98a709
								
							
						
					
					
						commit
						bcfe8b14a3
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -33,7 +33,10 @@ async fn main() -> Result<(), anyhow::Error> { | |||
|     let config = Config::build()?; | ||||
| 
 | ||||
|     if config.debug() { | ||||
|         std::env::set_var("RUST_LOG", "debug,tokio_postgres=info") | ||||
|         std::env::set_var( | ||||
|             "RUST_LOG", | ||||
|             "debug,tokio_postgres=info,h2=info,trust_dns_resolver=info,trust_dns_proto=info,rustls=info", | ||||
|         ) | ||||
|     } else { | ||||
|         std::env::set_var("RUST_LOG", "info") | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue