From b5f1e5081f0ae6d0fad5d3c84e69dcd75fbdca56 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 24 Feb 2021 14:05:11 +0100 Subject: [PATCH] Reduced logging --- app/src/main/java/eu/faircode/email/Core.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index e1fecd1e56..dfaa7de63b 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -1662,15 +1662,11 @@ class Core { } // Some email servers are slow with adding sent messages - if (retry) { - String msg = folder.name + " EXISTS retry" + + if (retry) + Log.w(folder.name + " EXISTS retry" + " found=" + (imessages == null ? null : imessages.length) + - " host=" + account.host; - if (BuildConfig.PLAY_STORE_RELEASE) - Log.w(msg); - else - Log.e(msg); - } else if (imessages == null || imessages.length == 0) { + " host=" + account.host); + else if (imessages == null || imessages.length == 0) { long next = new Date().getTime() + EXISTS_RETRY_DELAY; Intent intent = new Intent(context, ServiceUI.class);