Show TOC

Procedure documentationConfiguring Log Controllers Locate this document in the navigation structure

 

Using the Log Configuration tool, you can configure at runtime the severity of:

  • certain log controllers

  • the whole system tree

  • a certain system instance

Prerequisites

Before changing the severity of a log controller or instance in a system, bare in mind that:

  • If you change the severity of a log controller, the severity of all instances in the system will be changed for this controller. That is, the severity change is at system level.

  • If you change the severity of the selected log controller for only one instance, and this new severity is different on the various instances in the cluster, this is not a system level severity anymore. These are only specific instance severities.

    Note Note

    You can still set a uniform system severity in two ways:

    • If you set the uniform system severity in the tree.

    • If you equalize the instance severities in the Per Instance Configuration tab.

    End of the note.

Procedure

Finding a Log Controller for Configuring
  1. Open the SAP NetWeaver Administrator.

  2. Choose   Problem Management   Logs and Traces   Log Configuration  .

  3. From Show dropdown box, select either Logging Categories or Tracing Locations.

  4. In the Category or Location field, enter part of the name of the searched log controller. Choose Go.

    Note Note

    For a more sophisticated search, proceed as follows:

    1. Choose Open Filter.

    2. In the Category or Location field, enter part of the name of the searched log controller.

    3. From the Severity field select a comparative method. From the adjacent field, select the relevant severity.

    4. In the File Name field, enter part of the name of the relevant log file.

    5. Chose Apply Filter.

      To filter again for another category or location, choose Clear Filter.

    End of the note.
  5. From the tree structure, select the log controller you want to configure.

Changing the Severity of a Log Controller
  1. In the Logging Categories or Tracing Locations pane, from the Severity dropdown box, choose the severity level you want to set to the selected log controller.

  2. If you want this change to refer to its children log controllers, choose Copy To Sub-Tree.

    Note Note

    If you want this changed reference for the children to be valid only for the current filter, choose Copy to Filtered Sub-Tree.

    End of the note.
  3. Choose Save Configuration.

  4. In the Destinations pane on the System Configuration tab, you can find all the destinations that are assigned to the selected log controller at system level, that is, for the whole cluster.

  5. If you want to reset the severity of the selected log controller to its default value, choose Reset Category or Reset Location.

Configuring Log Controllers per Instance
  1. Choose the Per Instance Configuration tab.

  2. In the Instance ID column, the ID numbers of the relevant instances for the selected controller appear.

  3. In the Severity column, you can change the severity of the selected log controller for any instance.

  4. Select an instance.

    Details for each instance appear in the table below, displaying the destinations of the selected controller on the selected instance.

Resetting Log Configuration to the Default One
  1. Select the relevant log controller.

  2. Choose Default Configuration.

    Note Note

    The default severity for categories is INFO, and for locations is ERROR.

    End of the note.