Mercurial > prosody-hg
comparison plugins/mod_s2s/mod_s2s.lua @ 4993:5243b74a4cbb
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 23 Jul 2012 17:32:33 +0100 |
| parents | 29bdf68ad142 |
| children | 164dc19519d8 |
comparison
equal
deleted
inserted
replaced
| 4992:e79e4d1f75de | 4993:5243b74a4cbb |
|---|---|
| 97 if host.from_host ~= from_host then | 97 if host.from_host ~= from_host then |
| 98 log("error", "WARNING! This might, possibly, be a bug, but it might not..."); | 98 log("error", "WARNING! This might, possibly, be a bug, but it might not..."); |
| 99 log("error", "We are going to send from %s instead of %s", tostring(host.from_host), tostring(from_host)); | 99 log("error", "We are going to send from %s instead of %s", tostring(host.from_host), tostring(from_host)); |
| 100 end | 100 end |
| 101 if host.sends2s(stanza) then | 101 if host.sends2s(stanza) then |
| 102 host.log("debug", "stanza sent over "..host.type); | 102 host.log("debug", "stanza sent over %s", host.type); |
| 103 return true; | 103 return true; |
| 104 end | 104 end |
| 105 end | 105 end |
| 106 end | 106 end |
| 107 end | 107 end |
