From 0e126d9b218fb2c5bd3b94e7a3f686c43592e335 Mon Sep 17 00:00:00 2001 From: Doug Date: Mon, 6 Jan 2025 12:15:44 +0000 Subject: [PATCH] Add the event cache to the Rust tracing configuration. --- ElementX/Sources/Other/Logging/TracingConfiguration.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ElementX/Sources/Other/Logging/TracingConfiguration.swift b/ElementX/Sources/Other/Logging/TracingConfiguration.swift index a8d7cd2aba..54560a21d2 100644 --- a/ElementX/Sources/Other/Logging/TracingConfiguration.swift +++ b/ElementX/Sources/Other/Logging/TracingConfiguration.swift @@ -61,6 +61,8 @@ 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_event_cache = "matrix_sdk::event_cache" + case matrix_sdk_sqlite_event_cache_store = "matrix_sdk_sqlite::event_cache_store" } // The `common` target is excluded because 3rd-party crates might end up logging user data. @@ -74,7 +76,9 @@ 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_ui_timeline: .info, + .matrix_sdk_event_cache: .info, + .matrix_sdk_sqlite_event_cache_store: .info ] let filter: String