Show TOC

Using the Technical Trace and LogLocate this document in the navigation structure

Use

Use the general AS Java Logging API com.sap.tc.logging.

Integration

To configure and display the trace created with com.sap.tc.logging, use the AS Java log configuration and the log viewer.

More information: Log Configuration , Log Viewing

Use of the com.sap.tc.logging trace and log interface is optional. If you use the interface, you must take the requirements in the following areas into account:

Features

The tools are contained in the following areas:

  • AS Java Logging Tool

    This mechanism provides functions for tracing and logging. Tracing gives details about where an error occurs and how often, while logging provides information about the functioning of a component on a detailed, technical level.

    The term category is used if logging statements are written for a particular category of functions.

    Tip

    adapter.EISconnection

    adapter.J2EEconnection

    The term location is used when trace statements are created that enable processing code to be reconstructed.

    The same terms are used in the method design of the technical trace and log interface.

Connection to JCA Error Logging and Tracing Methods

  • If your adapter supports the trace and log interface, it can ignore the received PrintWriter Character Output Stream.
  • If your adapter supports JCA logging, only write JCA-based information in this log, not Adapter-Framework-based information.
  • If your adapter only supports the JCA logging method, it must write all its log statements to the Java PrintWriter object transferred by the AS Java JCA container.

    This mechanism is not sufficient for SAP certification.

  • You can also choose to use neither the JCA logging method nor the Adapter Framework trace and log interface.

Use of the com.sap.tc.logging trace and log interface is optional. If you use it, you must fulfill all the prerequisites described in the following sections.