summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/cli.rs14
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?;