aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-22 19:44:58 +0200
committerKim Alvefur <zash@zash.se>2018-07-22 19:44:58 +0200
commit59716b64dd89442bc70030d762e4ccbe7e70b176 (patch)
tree9b19d30b2b3bc0836e868a976e7775694dced576 /core
parent0bda4af7bbe0a5b264f9e3aafedca6963e2b2921 (diff)
downloadprosody-59716b64dd89442bc70030d762e4ccbe7e70b176.tar.gz
prosody-59716b64dd89442bc70030d762e4ccbe7e70b176.zip
core.stanza_router: Reduce logging of common routing (#776)
Diffstat (limited to 'core')
-rw-r--r--core/stanza_router.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index 49fe747c..5caa22f6 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -207,7 +207,6 @@ function core_route_stanza(origin, stanza)
-- old stanza routing code removed
core_post_stanza(origin, stanza);
else
- log("debug", "Routing to remote...");
local host_session = hosts[from_host];
if not host_session then
log("error", "No hosts[from_host] (please report): %s", tostring(stanza));
@@ -218,7 +217,7 @@ function core_route_stanza(origin, stanza)
origin = origin, stanza = stanza, from_host = from_host, to_host = host });
stanza.attr.xmlns = xmlns; -- reset
if not routed then
- log("debug", "... no, just kidding.");
+ log("debug", "Could not route stanza to remote");
if stanza.attr.type == "error" or (stanza.name == "iq" and stanza.attr.type == "result") then return; end
core_route_stanza(host_session, st.error_reply(stanza, "cancel", "not-allowed",
"Communication with remote domains is not enabled"));