Skip to content

Commit

Permalink
Add the event cache to the Rust tracing configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Jan 6, 2025
1 parent 307a593 commit 0e126d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ElementX/Sources/Other/Logging/TracingConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit 0e126d9

Please sign in to comment.