diff --git a/src/com/fsck/k9/MessagingController.java b/src/com/fsck/k9/MessagingController.java index 61b032561..d87d4dfeb 100644 --- a/src/com/fsck/k9/MessagingController.java +++ b/src/com/fsck/k9/MessagingController.java @@ -726,8 +726,11 @@ public class MessagingController implements Runnable { return; } - String debugLine = "Synchronizing folder " + account.getDescription() + ":" + folder; - Log.i(K9.LOG_TAG, debugLine); + + if (K9.DEBUG) + { + Log.i(K9.LOG_TAG, "Synchronizing folder " + account.getDescription() + ":" + folder); + } for (MessagingListener l : getListeners()) {