patch to have more meaningful error

Michael Scherer misc at mandriva.org
Sat Sep 22 16:48:04 UTC 2007


Hi,
While reading the log of my djabberd installation, I have seen
various message like this :
WARN - Dialback result invalid for
DJabberd::Connection::ServerIn=ARRAY(0x8d7eee0), reason: no resolved IP

as this is not really useful, I have patched djabberd to show the two
domain name involved :

WARN - Dialback result invalid for
DJabberd::Connection::ServerIn=ARRAY(0x8d0f924), on ordrejedis.net to
ephaone.org, reason: no resolved IP

Which showed me that ordrejedis.net was missing a SRV record for
_xmpp-server._tcp.
This seems to cause some problem to djabberd, but only the first time, as it
work fine after the first error. I will take a closer look later.

Could someone apply it to svn ?
-- 
Michael Scherer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: djabberd.better_log.diff
Type: text/x-patch
Size: 2360 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/djabberd/attachments/20070922/cf6a4f48/djabberd.better_log.bin


More information about the Djabberd mailing list