Rishabh Patel created HDDS-13794:
------------------------------------

             Summary: 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


Currently, we use the Async Logger to perform all logging activities.
When under stress, Async Logger drops events queued to be logged. 
This results in incomplete audit logs. 

Also 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]

Reply via email to