This documentation is for WSO2 Governance Registry 5.2.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

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).

See more information about logs in Logging.

Follow the instructions below to access the System Logs statistics.

1. Sign in. Enter your user name and password to log on to the Management Console.

2. Click on "Monitor" on the left side to access the "Monitor" menu.

3. In the "Monitor" menu, click on "System Logs."

4. The "System Logs" page appears. At the bottom of the page there is a link called Show archived logs which shows log file which contains log messages, which are obtained from a memory appender. Hence, the severity (log level) of the displayed log messages are equal or higher than the threshold of the memory appender.

  • 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 in bytes.
  • Action - Allows to download files.

5. All the available logs are displayed on the main System log view table above the log files table.  

Tip

To download the file, just click on the "Download" link associated with the file and specify the destination.

6. The "System log View" table appears as below.

7. 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.

8. You can also find a certain log using the search function. Enter the name (or a part of the name) to the field and click on the "Search" button.

Tip

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

See also Retrieving Logs.

Database Query Execution Statistics

It is possible to capture database query execution statistics by setting up certain loggers:

  • log4j.logger.org.wso2.carbon.registry.core.statistics=DEBUG will turn on debug level statistics for all types of registry operations.
  • log4j.logger.org.wso2.carbon.registry.core.statistics.query=DEBUG will turn on profiling for queries executed on the database.
  • No labels