Browse Source

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.
pull/2511/head
Benjamin Bouvier 7 months ago
parent
commit
33a039d2d5
  1. 1
      changelog.d/2511.misc
  2. 2
      libraries/matrix/api/src/main/kotlin/io/element/android/libraries/matrix/api/tracing/TracingFilterConfiguration.kt

1
changelog.d/2511.misc

@ -0,0 +1 @@ @@ -0,0 +1 @@
Remove the special log level for the Rust SDK read receipts.

2
libraries/matrix/api/src/main/kotlin/io/element/android/libraries/matrix/api/tracing/TracingFilterConfiguration.kt

@ -30,7 +30,6 @@ data class TracingFilterConfiguration( @@ -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 {
@ -87,7 +86,6 @@ object TracingFilterConfigurations { @@ -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(

Loading…
Cancel
Save