Question
2
Replies
291
Views
UnitedHealth Group
Posted: August 7, 2018
Last activity: August 13, 2018
How to store the Logs in JSON format
Hi,
To meet with Compliance we need to store all logs (including Security logs) in JSON format.
Could you please help me in understanding how to achieve it.
Thanks & Regards
Venkata Naga Ganesh
Hi Venkata,
PRPC uses 'log4j' (mostly) for logging purposes - so you can format the logs using OOTB log4j 'Appenders'.
For instance; see here: https://logging.apache.org/log4j/2.x/manual/layouts.html
You just need to edit the 'prlogging.xml' file to include the additional Appender.
What version of PRPC are you using - since there was a change (I believe) to switch from log4j version in the later releases of 7.2+ - which you may need to take account of.