Versions Compared

Key

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

...

  • Through the Management Console.
  • Through the log files that are stored in <PRODUCT_HOME>/repository/logs folder. The folder contains current logs in a log file with a date stamp. Older logs are archived in "wso2carbon.log" file.
  • Through the command prompt/shell terminal that opens when running the "wso2server.bat"/"wso2server.sh" files to start the Carbon server.

WSO2 products use a log4j-based logging mechanism through Apache Commons Logging facade library. The log4j.properties file which governs how logging is performed by the server can be found in <PRODUCT_HOME>/repository/conf directory.

There are two ways to configuring log4j.

...

Name : WSO2 Carbon - Logging Management Feature
Identifier : org.wso2.carbon.logging.mgt.feature.group

If the above feature is not bundled in your product by default, you can install it using the instructions given in section Feature Management.