Modify your log4j2.xml
file to set up a specific log to log only
ERROR-level and higher notifications.
Monitor the pingaccess.log file for ERROR-level messages. You can configure alerts to send notifications when events occur and to improve the monitoring of these events. Even when levels are down to a minimum, the server log generates large amounts of information in an active production environment. You can set up a specific log to log only ERROR-level and higher alerts, which can be sent to a security information and event management (SIEM) tool, such as Splunk, when they occur.
To change your log4j2.xml file to enable a separate log file: