Log on new span, no pretty
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Aode (lion) 2021-12-06 18:48:07 -06:00
parent 920f1f154c
commit a47f2a3428
3 changed files with 4 additions and 5 deletions

2
Cargo.lock generated
View file

@ -1347,7 +1347,7 @@ dependencies = [
[[package]]
name = "pict-rs"
version = "0.3.0-beta.7"
version = "0.3.0-beta.8"
dependencies = [
"actix-form-data",
"actix-rt",

View file

@ -1,7 +1,7 @@
[package]
name = "pict-rs"
description = "A simple image hosting service"
version = "0.3.0-beta.7"
version = "0.3.0-beta.8"
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"

View file

@ -18,9 +18,8 @@ pub(super) fn init_tracing(
opentelemetry::global::set_text_map_propagator(TraceContextPropagator::new());
let env_filter = EnvFilter::try_from_default_env().unwrap_or_else(|_| EnvFilter::new("info"));
let format_layer = tracing_subscriber::fmt::layer()
.with_span_events(FmtSpan::CLOSE)
.pretty();
let format_layer =
tracing_subscriber::fmt::layer().with_span_events(FmtSpan::NEW | FmtSpan::CLOSE);
let subscriber = Registry::default()
.with(env_filter)