Skip to main content

fmt_filter

Function fmt_filter 

Source
pub fn fmt_filter<S>(env_filter: EnvFilter) -> impl Filter<S>
Expand description

A fmt-layer filter that lets ordinary logs through and drops both audit streams.

A host that installs its own fmt layer alongside AuditLayer needs this, or every audit record is printed twice — once as a raw tracing event with all its typed fields, once rendered. act::guest is excluded for a second reason: guest telemetry is untrusted input and has no business in the operator’s log at all.