Skip to content

Commit

Permalink
Merge pull request #2511 from element-hq/bnjbvr/disable-special-log-l…
Browse files Browse the repository at this point in the history
…evel-for-read-receipts

Disable trace logs for read receipts
  • Loading branch information
bmarty committed Mar 11, 2024
2 parents dac54e7 + 33a039d commit 11fbc4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/2511.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove the special log level for the Rust SDK read receipts.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ data class TracingFilterConfiguration(
Target.MATRIX_SDK_SLIDING_SYNC to LogLevel.TRACE,
Target.MATRIX_SDK_BASE_SLIDING_SYNC to LogLevel.TRACE,
Target.MATRIX_SDK_UI_TIMELINE to LogLevel.TRACE,
Target.MATRIX_SDK_BASE_READ_RECEIPTS to LogLevel.TRACE,
)

fun getLogLevel(target: Target): LogLevel {
Expand Down Expand Up @@ -87,7 +86,6 @@ object TracingFilterConfigurations {
val nightly = TracingFilterConfiguration(
overrides = mapOf(
Target.ELEMENT to LogLevel.TRACE,
Target.MATRIX_SDK_BASE_READ_RECEIPTS to LogLevel.TRACE,
),
)
val debug = TracingFilterConfiguration(
Expand Down

0 comments on commit 11fbc4e

Please sign in to comment.