diff --git a/app/src/main/java/foundation/e/drive/EdriveApplication.java b/app/src/main/java/foundation/e/drive/EdriveApplication.java index 0ba4332015df5519bc7cefe176af79481a9bf521..6eaeed4b035c5cb757b6f82de6d8f3d5e5ac916a 100644 --- a/app/src/main/java/foundation/e/drive/EdriveApplication.java +++ b/app/src/main/java/foundation/e/drive/EdriveApplication.java @@ -44,7 +44,7 @@ public class EdriveApplication extends Application { if (BuildConfig.DEBUG) { Timber.plant(new DebugTree()); } else { - Telemetry.INSTANCE.init(BuildConfig.SENTRY_DSN, this); + //Telemetry.INSTANCE.init(BuildConfig.SENTRY_DSN, this); Timber.plant(new ReleaseTree()); } Timber.tag("EdriveApplication"); diff --git a/app/src/main/java/foundation/e/drive/utils/ReleaseTree.java b/app/src/main/java/foundation/e/drive/utils/ReleaseTree.java index dbc19e127fe63ebe8344fdc19ead984c5eb645b8..7e1f1565a33133b756b6ab2dd7237bb9b827f605 100644 --- a/app/src/main/java/foundation/e/drive/utils/ReleaseTree.java +++ b/app/src/main/java/foundation/e/drive/utils/ReleaseTree.java @@ -12,6 +12,7 @@ import android.util.Log; import androidx.annotation.NonNull; import androidx.annotation.Nullable; +import foundation.e.drive.EdriveApplication; import foundation.e.lib.telemetry.Telemetry; import timber.log.Timber; @@ -31,9 +32,11 @@ public class ReleaseTree extends Timber.DebugTree{ return; } - if (priority >= Log.WARN) { + + /*if (priority >= Log.WARN) { + Telemetry.INSTANCE.reportMessage(tag + " " + message); - } + }*/ super.log(priority, tag, message, throwable); }