From: Brion Vibber Date: Tue, 19 Jan 2010 20:26:59 +0000 (-0800) Subject: Extra debug instrumentation for xmppdaemon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=71df23642c60d24669def858a8059d70f284744c;p=quix0rs-gnu-social.git Extra debug instrumentation for xmppdaemon --- diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index cef9c4bd07..0c118c53d6 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') {