This page shows the existing Log4j2 configuration. It also allows you to modify existing configuration. You can either modify the log level of existing logger or add a new logger.
Configuring properties related to Log4J2 loggers.
INFO - Information messages WARN - Warning messages ERROR - Error messages DEBUG - Debug messages TRACE - Trace messages FATAL - Fatal error messages
Figure 1: Monitor Logs
Log4J2 logger consist of the logger name, logger class and log level.
To add a new logger you need to provide the following,
Figure 2: Configure Log4J2 logger
There are two ways of configuring Log4J2 in WSO2 Carbon. Either by manually editing the log4j2.properties file or through the management console. Changes you made to Log4j2 configuration through the management console are written to log4j2.properties file, therefore those changes will be available after server restarts.