Add Logging to Track Bug

Bug: 11247743
Change-Id: Ia168b8fd406d08a3c2fb43c90af673a772f7b64f
diff --git a/src/com/android/exchange/adapter/AbstractSyncParser.java b/src/com/android/exchange/adapter/AbstractSyncParser.java
index 2042e2c..0c4b5b5 100644
--- a/src/com/android/exchange/adapter/AbstractSyncParser.java
+++ b/src/com/android/exchange/adapter/AbstractSyncParser.java
@@ -168,6 +168,7 @@
                         // obvious that simply forcing another resync makes sense here.
                         moreAvailable = true;
                     } else {
+                        LogUtils.e(LogUtils.TAG, "Sync: Unknown status: " + status);
                         // Access, provisioning, transient, etc.
                         throw new CommandStatusException(status);
                     }
diff --git a/src/com/android/exchange/adapter/FolderSyncParser.java b/src/com/android/exchange/adapter/FolderSyncParser.java
index 9226ff2..4805cdc 100644
--- a/src/com/android/exchange/adapter/FolderSyncParser.java
+++ b/src/com/android/exchange/adapter/FolderSyncParser.java
@@ -230,6 +230,7 @@
                     if (CommandStatus.isDeniedAccess(status) ||
                             CommandStatus.isNeedsProvisioning(status) ||
                             (mAccount.mId == Account.NOT_SAVED)) {
+                        LogUtils.e(LogUtils.TAG, "FolderSync: Unknown status: " + status);
                         throw new CommandStatusException(status);
                     // Note that we need to catch both old-style (Eas.FOLDER_STATUS_INVALID_KEY)
                     // and EAS 14 style command status
diff --git a/src/com/android/exchange/eas/EasFolderSync.java b/src/com/android/exchange/eas/EasFolderSync.java
index 5f81a91..696a4e7 100644
--- a/src/com/android/exchange/eas/EasFolderSync.java
+++ b/src/com/android/exchange/eas/EasFolderSync.java
@@ -162,7 +162,7 @@
                         response.getInputStream(), mAccount, mStatusOnly).parse();
             } catch (final CommandStatusException e) {
                 final int status = e.mStatus;
-                LogUtils.d(LOG_TAG, "EasFolderSync.handleResponse status %d", status);
+                LogUtils.e(LOG_TAG, "EasFolderSync.handleResponse status %d", status);
                 if (CommandStatusException.CommandStatus.isNeedsProvisioning(status)) {
                     return RESULT_PROVISIONING_ERROR;
                 }