More useful default logging
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
asonix 2022-11-21 23:12:31 -06:00
parent c3b50bc94e
commit b53ec4d980
2 changed files with 1 additions and 2 deletions

1
.env
View file

@ -8,5 +8,4 @@ API_TOKEN=somesecretpassword
FOOTER_BLURB="Contact <a href=\"https://masto.asonix.dog/@asonix\">@asonix</a> for inquiries"
LOCAL_DOMAINS="masto.asonix.dog"
LOCAL_BLURB="<p>Welcome to my cool relay where I have cool relay things happening. I hope you enjoy your stay!</p>"
RUST_LOG=info
# OPENTELEMETRY_URL=http://localhost:4317

View file

@ -46,7 +46,7 @@ fn init_subscriber(
LogTracer::init()?;
let targets: Targets = std::env::var("RUST_LOG")
.unwrap_or_else(|_| "warn".into())
.unwrap_or_else(|_| "warn,actix_web=debug,actix_server=debug,tracing_actix_web=info".into())
.parse()?;
let format_layer = tracing_subscriber::fmt::layer()