Skip to content

Commit

Permalink
Disable trace logs for read receipts
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bnjbvr committed Mar 8, 2024
1 parent d65bd4a commit 33a039d
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 33a039d

Please sign in to comment.