Proxy Log Level
- environment variable
—proxy-log-level
CLI flag of theinstall
,inject
andupgrade
commandsconfig.linkerd.io/proxy-log-level
annotation (refer to Proxy Configurationfor more information on using config annotations).The log level is a comma-separated list of log directives, which isbased on the logging syntax of the .
A log directive consists of either:
- A module path (e.g.
foo
orfoo::bar::baz
), or info
warn
error
A module path represents the path to a Rust module. It consists of one or moremodule names, separated by::
.
The proxy’s default log level is set to warn,linkerd2_proxy=info
.