[Devel] [ openser-Patches-1415352 ] log duration of ENUM lookup

Klaus Darilion klaus.mailinglists at pernau.at
Mon Jan 30 11:36:17 CET 2006


Juha Heinanen wrote:
> SourceForge.net writes:
> 
>  > This nice little patch (written by Alexander Mayrhofer)
>  > logs the duration of the ENUM DNS lookup.
> 
> which ENUM lookup?  i haven't had chance to look the patch, but in order
> to be truly useful, it should tell separately timing for enum calls with
> different arguments (e164.apra or something domain) and also for each
> country code.

example log lines:

openser[2488]: e655ed7383081074 at bGFwdG9wLXJw trying to find phone number 
in ENUM...
openser[2488]: enum_query() profiling: NO 
3.5.4.8.3.1.0.8.8.5.3.4.e164.arpa., 1999 usec
openser[2488]: enum_query() profiling: NO 
3.5.4.8.3.1.0.8.8.5.3.4.freenum.org., 299 usec

As you can see it logs the domain, the result (yes or no), and the time.

regards
klaus



More information about the Devel mailing list