diff options
author | Brion Vibber <brion@pobox.com> | 2010-01-19 12:26:59 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-01-19 12:26:59 -0800 |
commit | 71df23642c60d24669def858a8059d70f284744c (patch) | |
tree | c41c9701610d524185d761842cc78ff9259a53c2 | |
parent | c7f14cd7774d21e16aa6b020da71f318c648e3f0 (diff) |
Extra debug instrumentation for xmppdaemon
-rwxr-xr-x | scripts/xmppdaemon.php | 1 |
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') { |