improve logging output of event clients & opnional DNS lookup
authorWilfried Goesgens <dothebart@citadel.org>
Tue, 20 Dec 2011 18:47:33 +0000 (19:47 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Tue, 20 Dec 2011 18:47:33 +0000 (19:47 +0100)
commit496f41df6f4159ad132534bad4202bf2a881eae3
treeeae5da1360bf20d424faebe972f9932cda121564
parentae6cddd2ff16f7056db3c773a96f20bc77f5d2c3
improve logging output of event clients & opnional DNS lookup

  - when compiling -DDEBUG_CARES a verbose trace of nameserver lookup is done
  - the log-line 'C-ARES: %s %d|%d Sock %d port %hu' can be used to identify requests in tcpdump pcap files: tcpdump -r out.pcap -w /tmp/filtered.pcap port <%hu output>
  - we log the session context, so outputs of rwho can be connected to loglines
citadel/event_client.h
citadel/modules/c-ares-dns/serv_c-ares-dns.c
citadel/modules/smtp/serv_smtpeventclient.c
citadel/modules/smtp/smtp_clienthandlers.c
citadel/modules/smtp/smtp_clienthandlers.h