[exim-dev] [Bug 514] log slow DNS queries

Top Page
Delete this message
Reply to this message
Author: Kjetil Torgrim Homme
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 514] log slow DNS queries
------- You are receiving this mail because: -------
You are the QA contact for the bug.

http://bugs.exim.org/show_bug.cgi?id=514




--- Comment #7 from Kjetil Torgrim Homme <kjetilho@???> 2008-11-16 17:00:41 ---
Please redo patches as unified or context diff, and put them in one file.

I think you should use gettimeofday, 1 second granularity isn't very accurate.
lastly, this will inundate the log, so I think you either need to implement a
hardcoded cutoff (say, 0.5 seconds) or your "host_lookup_time" suggestion,
although I'd call it something like "log_slow_host_lookup".


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email