Configure an audit exception formatter
The audit service includes an exception formatter, configured in the following snippet of the audit.json
file:
"exceptionFormatter" : {
"type" : "text/javascript",
"file" : "bin/defaults/script/audit/stacktraceFormatter.js"
},
json
As shown, you may find the script that defines how the exception formatter works in the stacktraceFormatter.js
file. That file handles the formatting and display of exceptions written to the audit logger.