Show TOC

Procedure documentationChanging Log Configuration Locate this document in the navigation structure

 

Within the SAP Management Console perspective you can change the log configuration of the AS Java server for one instance or the entire system. Changing the log configuration might be useful to trace the behavior of an application or to track down an error within the server. Within the SAP Management Console (SAP MC) it is only possible to change the severity for locations and categories, not the destination and the size of the log files.

Prerequisites

  • You have opened the SAP Management Console perspective in the SAP NetWeaver Developer Studio (Developer Studio).

  • You have registered the system.

  • The short host name of the server must be resolvable in the domain.

  • There is a direct connection (no fire wall/proxy) to the AS Java server host.

  • You have an account with the Administrator role on the AS Java server. Typically these are the accounts Administrator (in a Java system) or J2EE_ADMIN (in a dual-stack system).

Procedure

  • Proceed as follows to change the severity for one or more categories and locations:

    1. Navigate to the AS Java node in the navigation tree.

    2. Expand the Log Config node.

      A logon dialog displays.

    3. Provide the credentials for your account. If you select Remember User Name and Password, your credentials are stored encrypted in the secure storage on disk. If your system supports SSL-encrypted communication to the AS Java server, you can use this option by checking Secure Connection.

      The progress bar in the lower right corner indicates that the configuration is retrieved from the server. After all the data has been read, the tree displays two additional nodes:

      • Categories describes messages specific to distinguished problem areas.

      • Locations describes messages that originate from delimited source code areas.

    4. Navigate to the Categories or Locations node. Select Apply for sub-tree to change the severity for a category or location, or for all of their children.

    5. Save your changes with Apply befor selecting another node.

  • Proceed as follows to reset the log configuration:

    For most of the categories and locations, appropriate default values are stored within the system. To activate the defaults, select the Log Config node and choose Reset.

  • Proceed as follows to determin high log severities:

    Sometimes the system slows down due to a high volume of log messages written to the file system. The SAP MC log locations that have a severity level above Error are highlighted with a warning symbol, and above the severity level Path with an error symbol. Categories with a severity level above Info are highlighted with a warning symbol, and above the severity level Path with the error symbol. You can easily navigate to the locations and categories that might be causing the problem.

    The severity levels are displayed in the following order:

    • None

    • Fatal

    • Error

    • Warning

    • Info

    • Path

    • Debug

    • All