There are two ways of configuring Log4j
in WSO2 Carbon. Either by manually editing the log4j.properties
file or as follows:
- Editing through the management console
...
- - Changes are applied at runtime and persisted in WSO2 Registry
...
- and therefore are available even after you restart the server. You can also restore the original Log4j configuration from the
log4j.properties
file using the management console.
...
- Editing the
file
log4j.properties<PRODUCT_HOME>/repository/conf
/
...
- manually - You must restart the server
...
- to apply the changes
...
- . This overwrites the earlier log4j configuration that is persisted in the registry
...
- .
Follow the instructions below to set up logging.
...
2. Click the "Configure" button to access the "Configure" menu.
3. From the "Configure" menu, select "Logging."
...
Info | ||
---|---|---|
| ||
In this section, loggers can be filtered by the first characters (use the "Starts With" button) of by a combination of characters (use the "Contains" button). |
Excerpt | ||
---|---|---|
| ||
Instructions on how to set up logging in WSO2 ESB. |