From 1e5a4e35628324e8b008de1dc061ae110e1dcf67 Mon Sep 17 00:00:00 2001 From: mo khan Date: Fri, 11 Jul 2025 15:02:59 -0600 Subject: chore: tidy up request logs --- src/bin/cli.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/bin/cli.rs') diff --git a/src/bin/cli.rs b/src/bin/cli.rs index 6f089353..837ef80f 100644 --- a/src/bin/cli.rs +++ b/src/bin/cli.rs @@ -71,17 +71,19 @@ async fn main() -> Result<(), Box> { Commands::Server { addr } => { tracing_subscriber::fmt() .json() - .with_max_level(tracing::Level::INFO) + .with_ansi(false) .with_current_span(true) - .with_span_list(true) - .with_target(true) - .with_thread_ids(true) - .with_thread_names(true) .with_file(true) + .with_level(false) .with_line_number(true) + .with_max_level(tracing::Level::INFO) + .with_span_list(true) + .with_target(false) + .with_thread_ids(false) + .with_thread_names(false) .init(); - tracing::info!(address = %addr, "Starting authorization server"); + tracing::info!(address = %addr, "Starting"); authzd::authorization::Server::new(authzd::authorization::CedarAuthorizer::default())? .serve(addr.parse().unwrap()) .await?; -- cgit v1.2.3