From 27408fe8189018daab462e424d73cd929857dbd2 Mon Sep 17 00:00:00 2001 From: Doug <6060466+pixlwave@users.noreply.github.com> Date: Tue, 12 Sep 2023 09:00:34 +0100 Subject: [PATCH] Use `trace` for Client and OIDC logs. (#1682) --- ElementX/Sources/Other/Logging/RustTracing.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElementX/Sources/Other/Logging/RustTracing.swift b/ElementX/Sources/Other/Logging/RustTracing.swift index dbb60d195..560c7052a 100644 --- a/ElementX/Sources/Other/Logging/RustTracing.swift +++ b/ElementX/Sources/Other/Logging/RustTracing.swift @@ -87,9 +87,9 @@ struct TracingConfiguration { .elementx: .info, .hyper: .warn, .matrix_sdk_ffi: .info, - .matrix_sdk_client: .info, + .matrix_sdk_client: .trace, .matrix_sdk_crypto: .info, - .matrix_sdk_oidc: .info, + .matrix_sdk_oidc: .trace, .matrix_sdk_http_client: .info, .matrix_sdk_sliding_sync: .info, .matrix_sdk_base_sliding_sync: .info, @@ -109,7 +109,7 @@ struct TracingConfiguration { let overrides = Self.targets.keys.reduce(into: [Target: LogLevel]()) { partialResult, target in // Keep the defaults here - let ignoredTargets: [Target] = [.common, .hyper] + let ignoredTargets: [Target] = [.common, .hyper, .matrix_sdk_client, .matrix_sdk_oidc] if ignoredTargets.contains(target) { return }