Small suggestion for FreeRadius debug output

Patric patricrt at gmail.com
Thu Oct 15 10:10:48 CEST 2009


Hi again,

Alan I have a very small suggestion, if I may - what about adding a 
timestamp to the debug output?
I am not familiar with C, so dont know how difficult it would be to 
implement though...

I have been going through debug output for the last couple of days now 
attempting to resolve various configuration problems, and while not 
essential, it would be nice to see how much time has elapsed between a 
request and response for example...

Something like this:

[2009-10-15 10:00:00] Sending Accounting-Response of id 0 to 
xxx.xxx.xxx.xxx port 59807
                              Proxy-State = 0x323138
[2009-10-15 10:00:00] Finished request 701.
[2009-10-15 10:00:01] Cleaning up request 701 ID 0 with timestamp +1286
[2009-10-15 10:00:01] Going to the next request
[2009-10-15 10:00:02] Waking up in 0.3 seconds.

Just a thought :)

Thanks for everything!
Patric



More information about the Freeradius-Users mailing list