Show TOC

Procedure documentationConfiguring Logging Locate this document in the navigation structure

 

You can use the error log to receive information about the most important processing steps in the ABAP Web service runtime. The amount of information kept in the log depends on the selected logging level. You can set the desired logging level, as well as the period for which the information is kept in the log. When you configure the error log you should consider the following:

  • Once you set a log level, it stays valid until it is changed.

  • The log configuration is client-specific.

Prerequisites

To configure the logging process, your user must be assigned the SAP_BC_WEBSERVICE_ADMIN_TEC role. For more information, see Authorizations.

Procedure

  1. Start transaction SRT_UTIL.

  2. Choose the Error Log button.

  3. Choose   Error Log   Configuration  .

  4. Choose client, and then choose Configure (Configure).

  5. Select one of the following levels for logging:

    • Use Inactive to witch off error logging.

    • Use System when you want the system to log only system errors.

    • Use System & Application when you want the system to log system errors and application exceptions.

    Caution Caution

    Setting the log level to Inactive leaves you without any data for analysis if an error occurs.

    End of the caution.
  6. Enter the number of days for which the error log keeps the logging entries.

    The default number of days is 14 days, and can be configured for each SAP client of an ABAP system. Moreover, each log entry can be set to another expiry day.

    Note Note

    If logging is activated over a lengthy time period, this can have a negative effect on performance.

    End of the note.
  7. Choose Continue (Continue).