Skip to content

Allow customizing pattern of "message" field for AccessEvents #496

@nickavv

Description

@nickavv

The message field is useful for a number of reasons in applications that consume and display logs. However, the properties that appear in the message field are not currently customizable. As per the documentation, the pattern is fixed as: ${remoteHost} - ${remoteUser} [${timestamp}] "${requestUrl}" ${statusCode} ${contentLength}

In my particular case, the remoteUser property is not allowed to be logged, for security reasons. I've ignored the separate remote_user field, but I cannot remove that property from the message field without ignoring the message field entirely.

It would be nice if the pattern that the message field logged was configurable.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions