mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Use trace for Client and OIDC logs. (#1682)
This commit is contained in:
@@ -87,9 +87,9 @@ struct TracingConfiguration {
|
|||||||
.elementx: .info,
|
.elementx: .info,
|
||||||
.hyper: .warn,
|
.hyper: .warn,
|
||||||
.matrix_sdk_ffi: .info,
|
.matrix_sdk_ffi: .info,
|
||||||
.matrix_sdk_client: .info,
|
.matrix_sdk_client: .trace,
|
||||||
.matrix_sdk_crypto: .info,
|
.matrix_sdk_crypto: .info,
|
||||||
.matrix_sdk_oidc: .info,
|
.matrix_sdk_oidc: .trace,
|
||||||
.matrix_sdk_http_client: .info,
|
.matrix_sdk_http_client: .info,
|
||||||
.matrix_sdk_sliding_sync: .info,
|
.matrix_sdk_sliding_sync: .info,
|
||||||
.matrix_sdk_base_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
|
let overrides = Self.targets.keys.reduce(into: [Target: LogLevel]()) { partialResult, target in
|
||||||
// Keep the defaults here
|
// Keep the defaults here
|
||||||
let ignoredTargets: [Target] = [.common, .hyper]
|
let ignoredTargets: [Target] = [.common, .hyper, .matrix_sdk_client, .matrix_sdk_oidc]
|
||||||
if ignoredTargets.contains(target) {
|
if ignoredTargets.contains(target) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user