...
- Manually editing the
log4j.properties
file. Configure logging through the management console. This option is only available if the Logging Management feature is installed in your product.
Note Using the management console to configure logging is recommended because all changes made to log4j through the management console persists in the WSO2 Registry. Therefore, those changes will be available after the server
...
restarts and 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 thelog4j.properties
file.
...
Managing log growth
Log growth can be managed by the following configurations in the <PRODUCT_HOME>/repository/conf/
log4j.properties
file.
...