diff --git a/src/com/android/exchange/adapter/Serializer.java b/src/com/android/exchange/adapter/Serializer.java index daedec2cf..97b7e6d94 100644 --- a/src/com/android/exchange/adapter/Serializer.java +++ b/src/com/android/exchange/adapter/Serializer.java @@ -23,6 +23,7 @@ package com.android.exchange.adapter; +import com.android.email.Email; import com.android.exchange.Eas; import com.android.exchange.utility.FileLogger; @@ -37,7 +38,7 @@ import java.util.Hashtable; public class Serializer { private static final String TAG = "Serializer"; - private boolean logging = false; // DO NOT CHECK IN WITH THIS TRUE! + private final boolean logging = Email.DEBUG && Log.isLoggable(TAG, Log.VERBOSE); private static final int NOT_PENDING = -1;