This documentation is for WSO2 API Manager 2.1.0. View documentation for the latest release.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reviewed

Application logs are where events that are recorded when they are invoked by an application or a program running in a system are recorded. Similarly, the Application Logs of the application logs of a running Carbon instance display the log events of its deployed Web web applications and Web web services. The "The Application Logs" page  page has been introduced as a fine-grained view of System Logssystem logs. While  While system logs display log events of the entire system holistically, the application logs page allows the user to select a particular application and view its only those logs only.

Info

The application logs show logs from the proxy service, not from any logs inside its sequences. To view logs from the log mediator, see System Logs.

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 the syslog-ng server. 
  • If syslog-ng is not configured, log files are taken from the local file system (super-tenant or Stand-alone apps).

For more information on logs and how to change log properties according to your preferences, refer to section see Logging. Follow the instructions below to access statistics on Application Logsapplication logs.1.

  1. Log

...

  1. in to the product's

...

  1. Management Console and click Monitor > Application Logs.

...


  1. Image Modified

...

  1. The Application Logs

...

  1.  page appears.

...

  1.  This page displays logs of a selected application in a bottom-up manner.

...

  1.  For example,

...


  1. Image Modified

    Info
    titleNote

    The log messages displayed on this page are obtained from a memory appender. Therefore, the severity (log level) of the displayed log messages

...

  1. is equal to or higher than the threshold of the memory appender. For more information on appenders, loggers, their log levels and logging,

...

  1. see Apache Log4j 2 in the Apache documentation.

  2. Use the drop-down list

...

  1. shown below to select a deployed

...

  1. web service or web application to view its log files.
    Image Modified

...

...

  1. In

...

  1. the View

...

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

...

...

    • ALL - Displays all categories of logs

...

    For example,

    Image Modified

...

...

  1. You can also

...

  1. search for a

...

  1. specific log using the search function. Enter a keyword (or part of a keyword) and

...

  1. click Search.

...

  1.  When a search criteria is given,

...

  1. the View

...

  1.  field is displayed

...

  1. as Custom

...

  1. .

    For example,

    Image Modified

...

  1. Info
    titleNote

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