From 71df23642c60d24669def858a8059d70f284744c Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 19 Jan 2010 12:26:59 -0800 Subject: Extra debug instrumentation for xmppdaemon --- scripts/xmppdaemon.php | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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') { -- cgit v1.2.3-54-g00ecf