#776 Inequal handling of c2s and s2s stanzas in debug logs
Prosody's debug logging is pretty verbose, but it is missing a log line for stanzas sent over c2s connections.
There is one line per received stanza, via c2s and s2s:
Nov 04 18:52:38 c2s489acf0 debug Received[c2s]: <presence id='jWU0t-414' firstname.lastname@example.org/Ge0rG'>
Nov 04 18:52:38 s2sin25fca70 debug Received[s2sin]: <presence id='jWU0t-414' email@example.com/yaxim' firstname.lastname@example.org/Ge0rG'>
There are three (or four, if you count the routing debug) stanzas for sending over s2s:
Nov 04 18:52:38 stanzarouter debug Routing to remote...
Nov 04 18:52:38 s2sout206ca60 debug going to send stanza to conference.siacs.eu from yax.im
Nov 04 18:52:38 s2sout206ca60 debug sending: <presence id='jWU0t-414' email@example.com/Ge0rG' firstname.lastname@example.org/yaxim'>
Nov 04 18:52:38 s2sout206ca60 debug stanza sent over s2sout
And there is not a single line logging the stanza that is sent to a client.
Please make the s2s-out logging a bit less verbose, and add a c2s-out line for that.
Without looking at the code, possibly we can remove "stanza sent over s2sout", and add an equivalent "sending:" line for c2s that s2s has.