[
https://issues.apache.org/jira/browse/HDDS-13794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-13794:
------------------------------------
Fix Version/s: 2.2.0
> Use synchronized logger for auditing tasks
> ------------------------------------------
>
> Key: HDDS-13794
> URL: https://issues.apache.org/jira/browse/HDDS-13794
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Rishabh Patel
> Assignee: Rishabh Patel
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.2.0
>
> Attachments: logger-benchmark.md
>
>
> Currently, we use the Async Logger to perform all logging activities.
> When under stress, Async Logger
> [drops|https://logging.apache.org/log4j/2.x/manual/async.html#log4j2.asyncLoggerRingBufferSize]
> events that were supposed to be logged.
> This results in incomplete audit logs.
> Furthermore, as per the Log4J documentation Async Logger should not be used
> for auditing purposes.
> ??If logging is part of your business logic, e.g. you are using Log4j as an
> audit logging framework, we would recommend to synchronously log those audit
> messages.??
> [https://logging.apache.org/log4j/2.x/manual/async.html#async-drawbacks]
> The goal of this task is to transition to a synchronized logger for auditing
> activities.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]