From d5f0a6d66a31c9acd2be1ac763408a5b9d7f1666 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 23 Feb 2021 11:52:15 +0100 Subject: [PATCH] Remove log, I do not understand when this code has disappeared. --- vector/src/main/java/im/vector/app/VectorApplication.kt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vector/src/main/java/im/vector/app/VectorApplication.kt b/vector/src/main/java/im/vector/app/VectorApplication.kt index 1a7fe35745..f8cda2c417 100644 --- a/vector/src/main/java/im/vector/app/VectorApplication.kt +++ b/vector/src/main/java/im/vector/app/VectorApplication.kt @@ -58,6 +58,7 @@ import im.vector.app.features.settings.VectorPreferences import im.vector.app.features.themes.ThemeUtils import im.vector.app.features.version.VersionProvider import im.vector.app.push.fcm.FcmHelper +import org.jitsi.meet.sdk.log.JitsiMeetDefaultLogHandler import org.matrix.android.sdk.api.Matrix import org.matrix.android.sdk.api.MatrixConfiguration import org.matrix.android.sdk.api.auth.AuthenticationService @@ -117,6 +118,11 @@ class VectorApplication : vectorUncaughtExceptionHandler.activate(this) rxConfig.setupRxPlugin() + // Remove Log handler statically added by Jitsi + Timber.forest() + .filterIsInstance(JitsiMeetDefaultLogHandler::class.java) + .forEach { Timber.uproot(it) } + if (BuildConfig.DEBUG) { Timber.plant(Timber.DebugTree()) }