Hi Hugh, is that a microsecond counter starting when the request is received? Imho the wording is confusing, will it wrap around when the request takes more than one second? How would I log the microseconds as integer for requests that take longer than one second?
Thanks, Alex On 2016-03-23 10:33, Hugh Irvine wrote: > Hello Alex - > > %s is the number of microseconds in the current second. > > From section 5.2 of the Radiator 4.16 reference manual (“doc/ref.pdf”): > > %s Microseconds in the current second > > Note that the RADIUS protocol only defines times in seconds. > > regards > > Hugh > > >> On 23 Mar 2016, at 19:44, Hartmaier Alexander >> <alexander.hartma...@t-systems.at> wrote: >> >> Hi, >> I'd like to add the time it took to craft a response for each request to >> the logs. >> In the reference manual I only found %E which is 'The elapsed time in >> seconds since the packet was received. Can be used to log >> processing time for proxied packets etc.'. >> For this logging I'd need at least milli- or better microseconds. >> Did I overlook a placeholder for those or do they currently not exist? >> >> How do you guys monitor response time to prevent clients marking a >> server as unresponsive because it takes it too long to send a response, >> most of the time because of a backend like LDAP, SQL database or proxied >> radius server being slow? >> >> Thanks, Alex >> >> >> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* >> T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien >> Handelsgericht Wien, FN 79340b >> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* >> Notice: This e-mail contains information that is confidential and may be >> privileged. >> If you are not the intended recipient, please notify the sender and then >> delete this e-mail immediately. >> *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"* >> _______________________________________________ >> radiator mailing list >> radiator@open.com.au >> http://www.open.com.au/mailman/listinfo/radiator > > -- > > Hugh Irvine > h...@open.com.au > > Radiator: the most portable, flexible and configurable RADIUS server > anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, > Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, > TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP, > DIAMETER, SIM, etc. > Full source on Unix, Linux, Windows, MacOSX, Solaris, VMS, NetWare etc. > _______________________________________________ radiator mailing list radiator@open.com.au http://www.open.com.au/mailman/listinfo/radiator