mirror of
https://github.com/gravitational/teleport.git
synced 2026-08-28 21:12:20 +08:00
Supress IronRDP's decode tracing logs (#68324)
This commit is contained in:
@@ -120,6 +120,11 @@ func init() {
|
||||
// TODO(zmb3): remove this after sspi-rs logging is cleaned up
|
||||
rustLogLevel += ",sspi=warn"
|
||||
|
||||
// IronRDP instruments hot-path decode functions (e.g. RemoteFX process_frame) at INFO.
|
||||
// With no tracing subscriber installed, tracing's `log` feature bridges those span
|
||||
// records to env_logger as noisy non-JSON lines, so drop the span-lifecycle target.
|
||||
rustLogLevel += ",tracing::span=off"
|
||||
|
||||
os.Setenv("RUST_LOG", rustLogLevel)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user