-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
Management audit logging can already log messages in JSON format. However these can only be written to a file or a syslog server. We need the ability for these messages to be written to stdout. This is useful for containers like OpenShift which consume the stdout data to feed to log aggregators.
Example Output:
2019-03-08 13:29:49 - { "type" : "core", "r/o" : false, "booting" : false, "version" : "8.0.1.CR1-SNAPSHOT", "user" : "$local", "domainUUID" : null, "access" : "NATIVE", "remote-address" : "localhost/127.0.0.1", "success" : true, "ops" : [{ "address" : [ { "subsystem" : "logging" }, { "json-formatter" : "json" } ], "operation" : "remove", "operation-headers" : { "caller-type" : "user", "access-mechanism" : "NATIVE" } }] }
Note for a log aggregator the complex ops attribute can be an issue. We may need to find a better way to log that. If possibly maybe convert it into a CLI command.
- is blocked by
-
WFCORE-4355 Add utility for event logging such as audit and access logging
- Resolved