Add Event listener configurations
<EventListener type="org.wso2.carbon.identity.core.handler.AbstractIdentityHandler"
name="org.wso2.carbon.identity.application.authentication.framework.handler.request.impl.consent.ConsentMgtPostAuthnHandler"
orderId="110" enable="true"/>
+
+ <!-- Audit Loggers -->
+
+ <!-- Old Audit Logger -->
+ <EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener"
+ name="org.wso2.carbon.user.mgt.listeners.UserMgtAuditLogger"
+ orderId="0" enable="false"/>
+
+ <!-- New Audit Loggers-->
+ <EventListener type="org.wso2.carbon.user.core.listener.UserOperationEventListener"
+ name="org.wso2.carbon.user.mgt.listeners.UserManagementAuditLogger"
+ orderId="1" enable="true"/>
+ <EventListener type="org.wso2.carbon.user.core.listener.UserManagementErrorEventListener"
+ name="org.wso2.carbon.user.mgt.listeners.UserMgtFailureAuditLogger"
+ orderId="0" enable="true"/>
</EventListeners>
<!-- These recorders are used to write user delete information to specific sources. Default event recorder is CSV
