[RADIATOR] Multiple accounting output formats
vartiait at open.com.au
Mon Nov 7 08:55:28 UTC 2016
> On 14 Jun 2016, at 11:47, Tuure Vartiainen <vartiait at open.com.au> wrote:
>> On 13 Jun 2016, at 18:13, <l.m.c.haverkotte at utwente.nl> <l.m.c.haverkotte at utwente.nl> wrote:
>> What I would like to achieve is the following: from a single handler generate accounting logs to multiple files in multiple formats (e.g. 2 files with the normal output, 1 with JSON output). Outputting to multiple files is easy, but of course adding the formatting hook for JSON output causes both files to be in that format.
>> Is there any way to achieve this in radiator? (It’s not a problem for Authentication logs since you can just set a different log filename per e.g. AuthBy, but this does not seem to be available for accounting logs).
> unfortunately currently that’s not possible, all AcctLogFileNames use the same
> configured format.
> AuthLog could be companied with AcctLog which would allow to configure the
> described feature.
Following AcctLogs are now in Radiator v. 4.17 patches:
AcctLogs work like AuthLogs and are run for Accounting-Requests which are handled by a handler, e.g.:
# LogFormat defines a format AcctLog
Tuure Vartiainen <vartiait 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,
More information about the radiator