summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-01-19 12:26:59 -0800
committerBrion Vibber <brion@pobox.com>2010-01-19 12:26:59 -0800
commit71df23642c60d24669def858a8059d70f284744c (patch)
treec41c9701610d524185d761842cc78ff9259a53c2 /scripts
parentc7f14cd7774d21e16aa6b020da71f318c648e3f0 (diff)
Extra debug instrumentation for xmppdaemon
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/xmppdaemon.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index cef9c4bd0..0c118c53d 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -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') {