[jboss-jira] [JBoss JIRA] (WFCORE-3978) Management audit logger should support including the timestamp inside the JSON

Brian Stansberry (JIRA) issues at jboss.org
Wed Jul 25 16:36:00 EDT 2018


Brian Stansberry created WFCORE-3978:
----------------------------------------

             Summary: Management audit logger should support including the timestamp inside the JSON
                 Key: WFCORE-3978
                 URL: https://issues.jboss.org/browse/WFCORE-3978
             Project: WildFly Core
          Issue Type: Enhancement
          Components: Management
            Reporter: Brian Stansberry
            Assignee: Jeff Mesnil


The management audit log records have this weird half-JSON structure:

{code}
2018-07-25 14:59:50 - {
    "type" : "core",
    ...
}
{code}

I think that format needs to be 'enhanced' via an additional attribute on core-service=management/access=audit/json-formatter=json-formatter, one that lets the user specify a JSON field name to use for the timestamp, instead having it be separate from the json. It would be an alternative to the existing "date-separator" attribute, which is what puts the " - " in the current log record.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list