Show TOC

Log Configuration with SAP NetWeaver AdministratorLocate this document in the navigation structure

Use

Log Configuration provides options for online configuring the severities of log controllers in the whole system or in a certain system instance.

To access the tool, open SAP NetWeaver Administrator and then choose Start of the navigation path Troubleshooting Next navigation step Logs and Traces Next navigation step Log Configuration End of the navigation path.

You can alternatively use the quick link: http://<host>:<port>/nwa/log-config .

Integration

If you want to view the logs and traces of your AS Java, choose Start of the navigation path Relative Links Next navigation step Log Viewer End of the navigation path.

More information: Log Viewer

Features

Log Controllers

Log controllers are objects that manage the writing of log and trace messages. Two types of log controllers are available:

  • Location - describes messages that originate from delimited source code areas. It is used to store and emit trace messages. Since trace messages are meant for developers and support engineers, they are organized along code packages. In SAP NetWeaver Administrator, locations are named as tracing locations .

  • Category - describes messages specific to distinguished problem areas. It is used to store and emit log messages. Typical problem areas are: databases, networking, security auditing, and others. In SAP NetWeaver Administrator, categories are named as logging categories .

    Note

    The configuration steps for both logging categories and tracing locations are the same. Therefore, the steps in the configuration procedures treat them as a whole.

Severity levels

The severity denotes the level of importance or relevance of a certain message.

The increasing order of the severity levels is:

  • ALL - The lowest severity. Controller with such a severity logs all the messages regardless of their severity.

  • DEBUG - For debugging purpose, with extensive and low level information.

  • PATH - For tracing the execution flow. For example, entering and leaving a method, looping and branching operations and so on.

  • INFO - Informational text, mostly for announcing what has already been performed.

  • WARNING - Announces that the application can recover from an anomaly and fulfill the required task, but needs attention from a developer/operator.

  • ERROR - Announces that the application can recover from an error, but it cannot fulfill the required task due to the error.

  • FATAL - Announces that the application cannot recover from an error, and the situation causes fatal termination.

  • NONE - The highest severity. Log controllers with such a severity suppress all the messages logged into them, except for the messages with the same severity.