Skip to main content

trace_filter

Function trace_filter 

Source
pub fn trace_filter(level: &str) -> String
Expand description

The default trace-filter directives, RUST_LOG aside.

The public listener faces the whole internet, and pingora reports every failed TLS handshake and every garbage HTTP request a scanner sends at ERROR - hundreds of thousands of lines a day on prod. Those modules are silenced outright; the rest of pingora_core is capped at ERROR to drop its routine idle-connection and response-header warnings - CLOUDPUB-1281.