refactor(config): add independent toggles for enabling traces and metrics (#1020)

This commit is contained in:
Sanchith Hegde
2023-05-03 12:15:03 +05:30
committed by GitHub
parent 0df2244794
commit af71828e35
14 changed files with 72 additions and 68 deletions

View File

@ -34,7 +34,7 @@ async fn main() -> ApplicationResult<()> {
conf.validate()
.expect("Failed to validate router configuration");
let _guard = logger::setup(&conf.log)?;
let _guard = logger::setup(&conf.log);
logger::info!("Application started [{:?}] [{:?}]", conf.server, conf.log);