From e659cbfb3746372ca8bbbe7122cb89d90a70bcbf Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Fri, 8 Mar 2024 11:16:01 +0100 Subject: [PATCH] Disable trace logs for read receipts Read receipts have been considered quite stable over the last few weeks, so there's no need to keep the trace level for the associated logs for the time being. --- ElementX/Sources/Other/Logging/TracingConfiguration.swift | 7 ++----- changelog.d/2544.misc | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 changelog.d/2544.misc diff --git a/ElementX/Sources/Other/Logging/TracingConfiguration.swift b/ElementX/Sources/Other/Logging/TracingConfiguration.swift index 938989f8e..795704d5f 100644 --- a/ElementX/Sources/Other/Logging/TracingConfiguration.swift +++ b/ElementX/Sources/Other/Logging/TracingConfiguration.swift @@ -73,7 +73,6 @@ struct TracingConfiguration { case matrix_sdk_sliding_sync = "matrix_sdk::sliding_sync" case matrix_sdk_base_sliding_sync = "matrix_sdk_base::sliding_sync" case matrix_sdk_ui_timeline = "matrix_sdk_ui::timeline" - case matrix_sdk_base_read_receipts = "matrix_sdk_base::read_receipts" } static let targets: OrderedDictionary = [ @@ -88,8 +87,7 @@ struct TracingConfiguration { .matrix_sdk_http_client: .debug, .matrix_sdk_sliding_sync: .info, .matrix_sdk_base_sliding_sync: .info, - .matrix_sdk_ui_timeline: .info, - .matrix_sdk_base_read_receipts: .trace + .matrix_sdk_ui_timeline: .info ] let filter: String @@ -124,8 +122,7 @@ struct TracingConfiguration { .matrix_sdk_client, .matrix_sdk_crypto, .matrix_sdk_crypto_account, - .matrix_sdk_http_client, - .matrix_sdk_base_read_receipts] + .matrix_sdk_http_client] if ignoredTargets.contains(target) { return } diff --git a/changelog.d/2544.misc b/changelog.d/2544.misc new file mode 100644 index 000000000..b24b4dc05 --- /dev/null +++ b/changelog.d/2544.misc @@ -0,0 +1 @@ +Remove the special log level for the Rust SDK read receipts.