Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audit does not format message if not loggable. #3156

Merged
merged 3 commits into from
Jun 28, 2021

Conversation

tomas-langer
Copy link
Member

@tomas-langer tomas-langer commented Jun 25, 2021

Resolves #3143

Configurable log levels.

Fixed configuration for audit - the configuration node is now just audit, so we can configure it as follows:

security:
  audit:
    defaultProvider:
      logger: "helidon.audit"
      level:
        failure: "INFO"

This is the intended way of configuring default audit provider (before you would need to do security.security.audit.

Added support for configuring the log levels for various audit severities (as seen above in example).
Audit severities (and their default log levels):

  • failure (FINEST)
  • success (FINEST)
  • info (FINEST)
  • warn (WARNING)
  • error (SEVERE)
  • audit-failure (SEVERE)

Signed-off-by: Tomas Langer tomas.langer@oracle.com

Configurable log levels.

Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@tomas-langer tomas-langer self-assigned this Jun 25, 2021
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
Signed-off-by: Tomas Langer <tomas.langer@oracle.com>
@barchetta barchetta added this to the 2.3.2 milestone Jun 28, 2021
@tomas-langer tomas-langer merged commit 0b4325f into helidon-io:master Jun 28, 2021
@tomas-langer tomas-langer deleted the 3143-audit branch June 28, 2021 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants