[RADIATOR] sub-second precision logging
Heikki Vatiainen
hvn at open.com.au
Fri Apr 3 10:57:12 CDT 2015
On 04/03/2015 02:41 PM, Hartmaier Alexander wrote:
> I wasn't able to find any information in the manual on subsecond
> precision logging when you want to define your own timestamp format with
> the placeholders shown in section 5.3.
See the table in section 5.2 instead. These placeholders work with
LogFormat and there %s for the microsecond part of the timestamp.
> LogMicroseconds in a <Log FILE> block with LogFormatHook doesn't seem to
> have an effect on %S and there is no placeholder for the micro- or
> nanoseconds either.
> Addition of a placeholder would be very welcome.
If you feed "%s" to Util::format_special(), you should get back the
microsecond part.
Is this what you were looking for?
Thanks,
Heikki
--
Heikki Vatiainen <hvn at 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 etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
More information about the radiator
mailing list