diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-11 15:02:59 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-11 15:02:59 -0600 |
| commit | 1e5a4e35628324e8b008de1dc061ae110e1dcf67 (patch) | |
| tree | 426c7f5a276c8086f6bbc6a7c2e4327781c01eca /src/bin/cli.rs | |
| parent | 7eab1fc010c04c76f60a8dd4d8a72572ddd2785a (diff) | |
chore: tidy up request logs
Diffstat (limited to 'src/bin/cli.rs')
| -rw-r--r-- | src/bin/cli.rs | 14 |
1 files changed, 8 insertions, 6 deletions
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<dyn std::error::Error>> { 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?; |
