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

Juha Heinanen jh at tutpro.com
Tue Jan 31 05:53:18 CET 2006


Klaus Darilion writes:

 > 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.

ok, i thought that instead of syslog logging, it would keep statistics
(average/min/max) in memory, which could then be obtained by fifo
command.  syslog logging is ok for debugging purpose, but not that
useful for online monitoring of proxy behavior.

-- juha



More information about the Devel mailing list