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
4a074e4967
commit
e659cbfb37
@@ -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
|
||||
}
|
||||
|
||||
1
changelog.d/2544.misc
Normal file
1
changelog.d/2544.misc
Normal file
@@ -0,0 +1 @@
|
||||
Remove the special log level for the Rust SDK read receipts.
|
||||
Reference in New Issue
Block a user