Settings
Audit service functionality can be controlled using a configuration file. The file is located at <HDR_DOMAIN>/config/fhir/hdr_fhir.properties.
For example, if there is a requirement to store message payload as part of an audit record, change “audit.savemessagepayload.enabled" property to true. Other important entries in the properties file is as shown below.
#audit enabled - true or false audit.enabled=true #audit storage type - FILE or DB audit.datastore.type=FILE
If ‘FILE' is selected as the storage type, audit data goes to a file named audit-hdr-fhir.log.
If ‘DB' is selected as the storage type, audit data goes to a table called OHF_HDR_FHIR_AUDIT. Refer to the FHIR eTRM document for more information about the Audit table.
#collect request/response payload message – true or false audit.savemessagepayload.enabled=false