[RADIATOR] Multiple accounting output formats

l.m.c.haverkotte at utwente.nl l.m.c.haverkotte at utwente.nl
Mon Jun 13 10:13:38 CDT 2016


Hello Everyone,

After getting some inspiration from the most recent Radiator Cookbook blog post i’ve been working on generating JSON logging from radiator; this itself has been very successful but i’ve now run into a problem regarding accounting. 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).

Kind regards,

Leon Haverkotte | Network engineer | University of Twente | Library, ICT Services & Archive (LISA) / ITO | Campus building Citadel, room H219 | T: +31 (0)53 - 489 3016 | l.m.c.haverkotte at utwente.nl | www.utwente.nl/lisa



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20160613/1508c06a/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3148 bytes
Desc: not available
Url : http://www.open.com.au/pipermail/radiator/attachments/20160613/1508c06a/attachment.bin 


More information about the radiator mailing list