We really shouldn't need to be this detailed with the logging
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 7 Apr 2010 19:59:15 +0000 (15:59 -0400)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 8 Apr 2010 19:27:12 +0000 (13:27 -0600)
framework/ActiveSync/lib/Horde/ActiveSync/Wbxml/Decoder.php

index ca63380..91cd94f 100644 (file)
@@ -152,9 +152,6 @@ class Horde_ActiveSync_Wbxml_Decoder extends Horde_ActiveSync_Wbxml
         } else {
             $this->_logger->err('Unmatched end tag:');
             $this->_logger->err(print_r($element, true));
-            //$bt = debug_backtrace();
-           // $c = count($bt);
-           // $this->_logger->err('From ' . $bt[$c-2]['file'] . ':' . $bt[$c - 2]['line']);
             $this->_ungetElement($element);
         }
 
@@ -498,7 +495,7 @@ class Horde_ActiveSync_Wbxml_Decoder extends Horde_ActiveSync_Wbxml
         $ch = fread($this->_in, 1);
         if (strlen($ch) > 0) {
             $ch = ord($ch);
-            $this->_logger->debug('_getByte: ' . $ch);
+            //$this->_logger->debug('_getByte: ' . $ch);
             return $ch;
         } else {
             return;
@@ -522,7 +519,7 @@ class Horde_ActiveSync_Wbxml_Decoder extends Horde_ActiveSync_Wbxml
           }
         }
 
-        $this->_logger->debug('_getMBUInt(): ' . $uint);
+        //$this->_logger->debug('_getMBUInt(): ' . $uint);
         return $uint;
     }
 
@@ -538,7 +535,7 @@ class Horde_ActiveSync_Wbxml_Decoder extends Horde_ActiveSync_Wbxml
             $stringtable = fread($this->_in, $length);
         }
 
-        $this->_logger->debug('_getStringTable(): ' . $stringtable);
+        //$this->_logger->debug('_getStringTable(): ' . $stringtable);
         return $stringtable;
     }