Use trace for Client and OIDC logs. (#1682)

This commit is contained in:
Doug 2023-09-12 09:00:34 +01:00 committed by GitHub
parent f8c785ae51
commit 27408fe818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}