# HG changeset patch # User Georg Lukas # Date 1590133662 -7200 # Node ID 8fc16174fec606ee9c21d326e51dc572a4d113c4 # Parent caaa40f072da9b42906fc1010895b52f858759dc mod_cache_c2s_caps: log full JID on all relevant code paths diff -r caaa40f072da -r 8fc16174fec6 mod_cache_c2s_caps/mod_cache_c2s_caps.lua --- a/mod_cache_c2s_caps/mod_cache_c2s_caps.lua Wed Jan 06 13:48:49 2021 +0100 +++ b/mod_cache_c2s_caps/mod_cache_c2s_caps.lua Fri May 22 09:47:42 2020 +0200 @@ -68,7 +68,7 @@ local caps = stanza:get_child("c", "http://jabber.org/protocol/caps"); if caps == nil then - origin.log("debug", "Presence without caps received, skipping"); + origin.log("debug", "Presence from %s without caps received, skipping", from); return; end @@ -79,7 +79,7 @@ return; end if hash ~= "sha-1" then - origin.log("warn", "Non-SHA-1 caps received: %s", hash); + origin.log("warn", "Presence from %s with non-SHA-1 caps : %s", from, hash); return; end @@ -89,7 +89,7 @@ return; end - origin.log("debug", "Received presence from %s with SHA-1 caps %s, querying disco#info", from, node_query); + origin.log("debug", "Presence from %s with SHA-1 caps %s, querying disco#info", from, node_query); local id = uuid_gen(); iq_node_map[from..id] = node_query