Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There are two ways of configuring Log4j in WSO2 Carbon. Either by manually editing the log4j.properties file or through the management console. Changes you made to Log4j configuration through the management console  

  • Editing using the management console - Changes are applied immediately, without having to restart the server. These changes are persisted in WSO2 Registry

...

  • and therefore

...

  • will be available even after you restart the server

...

  • .

...

  • You can also restore the original Log4j configuration from the log4j.properties file using the management console.

...

  • Manually editing the log4j.properties file

...

  • - 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
titleTip

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
hiddentrue

Instructions on how to set up logging in WSO2 ESB.