Show TOC

 Logging Additional InformationLocate this document in the navigation structure

Use

If you have configured the HTTP Provider Service to log information in the HTTP access log file in the SAP-proprietary log format (not in the standard Common Log File format), you can log additional information about the type of the requested resource, the time the server generated the response for, or the value of a specific HTTP header from the request.

Procedure

Use the Visual Administrator tool to configure the logging of additional information:

  1. Open the Properties tab of the HTTP Provider Service running on the server process.
  2. If you want to log:
    Behavior Property and Value Result

    The response time

    Set the LogResponseTime property to true.

    Adds the time the server generated the response for to the HTTP access log file. This time is measured from the moment of parsing the request to the moment the processing thread ends.

    The value of a specific HTTP header if it is present in the request

    Specify the name of this header as a value of the LogHeaderValue property. The value of the property is not case-sensitive.

    Adds the value of the specified header to the HTTP access log file.

    If you assign the value test to the LogHeaderValue property, and the HTTP request contains a header with the name test and value testvalue, then you find the testvalue added to the log entry for this request in the corresponding log file.

    If the special X-CorrelationID header is set as the value of this property, HTTP requests that contain this header are logged in a different trace file for SMD debugging purposes. For more information, see HTTP Access Logging Specifics When Using Solution Manager Diagnostics .

    The type of the requested resource

    Set the LogIsStatic property to true.

    Adds the following information to the usual information being logged for the corresponding HTTP request:

    • s[t] if the requested resource is a static file;
    • s[f] if the requested resource is a dynamic one (such as a servlet, or JSP).

    All HTTP headers of the requests and responses

    Set the LogRequestResponseHeaders property to true.

    Logs information about all headers contained in the request and response.

  3. To add the new values to the list of properties, choose Update after you have changed the value of any of the above properties.
  4. To save your settings, choose  (Save Properties).