OSDN Git Service

Reduce logging.
authorJoe Onorato <joeo@google.com>
Mon, 18 Oct 2010 23:13:23 +0000 (19:13 -0400)
committerJoe Onorato <joeo@google.com>
Tue, 19 Oct 2010 19:08:05 +0000 (15:08 -0400)
Remember, the system and main logs are
    - Shared resources
    - Primarily for recording problems
    - To be used only for large grained events during normal operation

Bug: 3104855
Change-Id: I136fbd101917dcbc8ebc3f96f276426b48bde7b7

libs/utils/StreamingZipInflater.cpp

index 7ebde78..1f62ac5 100644 (file)
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 
+#define LOG_NDEBUG 1
 #define LOG_TAG "szipinf"
 #include <utils/Log.h>
 
@@ -157,7 +158,7 @@ ssize_t StreamingZipInflater::read(void* outBuf, size_t count) {
             */
             int result = Z_OK;
             if (mStreamNeedsInit) {
-                LOGI("Initializing zlib to inflate");
+                LOGD("Initializing zlib to inflate");
                 result = inflateInit2(&mInflateState, -MAX_WBITS);
                 mStreamNeedsInit = false;
             }