mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
Remove log, I do not understand when this code has disappeared.
This commit is contained in:
parent
0607f835aa
commit
d5f0a6d66a
1 changed files with 6 additions and 0 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue