Enable tracing to debug. (#80)

This commit is contained in:
kixelated 2023-09-19 10:00:55 -07:00 committed by GitHub
parent 7c8287ee35
commit 6e0e85272d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -18,10 +18,12 @@ async fn main() -> anyhow::Result<()> {
env_logger::init(); env_logger::init();
// Disable tracing so we don't get a bunch of Quinn spam. // Disable tracing so we don't get a bunch of Quinn spam.
/* TODO disable again after debugging
let tracer = tracing_subscriber::FmtSubscriber::builder() let tracer = tracing_subscriber::FmtSubscriber::builder()
.with_max_level(tracing::Level::WARN) .with_max_level(tracing::Level::WARN)
.finish(); .finish();
tracing::subscriber::set_global_default(tracer).unwrap(); tracing::subscriber::set_global_default(tracer).unwrap();
*/
let config = Config::parse(); let config = Config::parse();