diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-16 04:37:16 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-16 04:37:16 +0000 |
commit | 69bededafc0975871633cf37669d9082027a15ae (patch) | |
tree | 338d17fd0d95f626b367ba994959353284f7cc98 /core | |
parent | 71ae546e33b230992fbcb8cab754a01ea4b151a3 (diff) | |
download | prosody-69bededafc0975871633cf37669d9082027a15ae.tar.gz prosody-69bededafc0975871633cf37669d9082027a15ae.zip |
Replacing pretty_print() with top_tag() for logging
Diffstat (limited to 'core')
-rw-r--r-- | core/stanza_router.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua index 4704625b..e94d3c34 100644 --- a/core/stanza_router.lua +++ b/core/stanza_router.lua @@ -56,7 +56,7 @@ local function checked_error_reply(origin, stanza) end function core_process_stanza(origin, stanza) - (origin.log or log)("debug", "Received[%s]: %s", origin.type, stanza:pretty_print()) --top_tag()) + (origin.log or log)("debug", "Received[%s]: %s", origin.type, top_tag()) if not stanza.attr.xmlns then stanza.attr.xmlns = "jabber:client"; end -- FIXME Hack. This should be removed when we fix namespace handling. -- TODO verify validity of stanza (as well as JID validity) |