This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

System Logs

The "System Logs" page displays information regarding the log files of the current product. Further, it has the feature to download and view the log files according to the user preference. The log files can be retrieved in two ways:

  • If syslog-ng is configured, log files are taken from the remote location where the log files are hosted using syslog-ng server. 
  • If syslog-ng is not configured, log files are taken from the local file system (super-tenant or Stand-alone apps).

Follow the instructions below to access the System Logs statistics.

1. Log on to the Gadget Server Management Console.

2. Click "Monitor" menu and select "System Logs."

3. The "System Logs" page appears. The logs displayed on this page are obtained from the local file system.

  • File Name - The name of file containing logs concerning to some period.
  • Date - The date when the file with logs was generated.
  • File Size - The size of file.
  • Action - Allows to view and download files. You can view and download the log files by clicking the respective link.

4. Click the "View" link. The "System Log View" page appears. This page displays all the system logs from a bottom-up manner.

Note:

The log messages displayed on this page are obtained from a memory appender. Hence, the severity (log level) of the displayed log messages are equal to or higher than the threshold of the memory appender. For more information on appenders, loggers, their log levels and logging, refer to http://logging.apache.org/log4j/

5. In the "View" list, select the category of logs you want to view. The available categories are:

  • TRACE - Trace messages.
  • DEBUG - Debug messages.
  • INFO - Information messages.
  • WARN - Warning messages.
  • ERROR - Error messages.
  • FATAL - Fatal error messages.

6. You can also find a certain log using the search function. Enter a keyword (or part of a keyword) and click "Search."

7. You can enter the number of log lines to be displayed from the top-down. Click "Search."

Note:

The location of the log files on disk is specified in the log4j.configuration file.

To display tenant-specific information, you need to configure syslog-server. See more information about logs in logging in the Console Configuration section.