mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
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.
This commit is contained in:
committed by
Stefan Ceriu
parent
e36db7dd66
commit
23f553070b
@@ -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<Target, LogLevel> = [
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Remove the special log level for the Rust SDK read receipts.
|
||||
Reference in New Issue
Block a user