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 SAP 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 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 MC perspective in the Developer Studio.

  • You have registered the system.

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

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

  • You have an account with the role “Administrator” on the SAP AS Java server. Typically these are the accounts “Administrator” or “J2EE_Admin”.

Procedure

Changing the Severity for One or More Categories and Locations
  1. Navigate to the AS Java node in the tree.

  2. Expand the Log Config node, a logon dialog will appear.

  3. Provide the credentials for your account. If you select Remember Username and Password, your credentials will be stored encrypted in 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 shows two additional nodes:

    • Category describes messages specific to distinguished problem areas.

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

  4. Navigate to the category or location. 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.

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

Determine 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 order of the severity levels are:

  • None

  • Fatal

  • Error

  • Warning

  • Info

  • Path

  • Debug

  • All