Do not record encrypted XML-RPC responses in error_log
authorDavid Mudrak <david.mudrak@gmail.com>
Fri, 26 Nov 2010 09:20:28 +0000 (09:20 +0000)
committerDavid Mudrak <david.mudrak@gmail.com>
Fri, 26 Nov 2010 09:20:28 +0000 (09:20 +0000)
Such an information is not readable anyway and it make debugging
actually harder. If somebody needs it, they can uncomment the line.

mnet/xmlrpc/serverlib.php

index 245b568..64c147c 100644 (file)
@@ -205,7 +205,7 @@ function mnet_server_fault_xml($code, $text, $privatekey = null) {
 
     if ($code != 7025) { // new key responses
         mnet_debug("XMLRPC Error Response $code: $text");
-        mnet_debug($return);
+        //mnet_debug($return);
     }
 
     return $return;