...
Using the management console to configure logging is recommended because all changes made to log4j through the management console persist persists in the WSO2 Registry. Therefore, those changes will be available after the server restarts and these changes will will get priority over what is defined in the actual log4j.properties
file. Also, note that the logging configuration you define using the management console will apply at run time. However, if you modify the log4j.properties
file and restart the server, the earlier log4j configuration that persisted in the registry will be overwritten. There is also an option in the management console to restore the original log4j configuration from the log4j.properties
file.
...
In each Carbon product, users can configure and adjust the logging levels for each type of activity/ transactionstransaction. There are several ways to view the system log and application logs of a running Carbon instance.
...
The possibility to use the management console of your product for log configuration and log monitoring is provided by the following feature in the WSO2 feature repository:This functionality is provided by the following feature in the WSO2 feature repository:
Name : WSO2 Carbon - Logging Management Feature
Identifier : org.wso2.carbon.logging.mgt.feature.group
...