]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Extra debug instrumentation for xmppdaemon
authorBrion Vibber <brion@pobox.com>
Tue, 19 Jan 2010 20:26:59 +0000 (12:26 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 19 Jan 2010 20:26:59 +0000 (12:26 -0800)
scripts/xmppdaemon.php

index cef9c4bd074e7d049e25ddf2d8281726cd36b78d..0c118c53d6b6a52b7f5211361b615b0c08f722c7 100755 (executable)
@@ -148,6 +148,7 @@ class XMPPDaemon extends Daemon
 
     function handle_message(&$pl)
     {
+        $this->log(LOG_DEBUG, "Received message: " . str_replace("\n", " ", var_export($pl, true)));
         $from = jabber_normalize_jid($pl['from']);
 
         if ($pl['type'] != 'chat') {