Show TOC Entering content frame

Background documentation Logging and Tracing  Locate the document in its SAP Library structure

Logging and tracing is essential for analyzing problems. It is offered for all components required for SAP NetWeaver usage type PI.

Components Based on Usage Type AS-ABAP

The Integration Engine uses logging and tracing to log and analyze the processing steps of messages. However, no message data is persisted in the file system. Instead, the entire message is saved (persisted) in the database.

For more information, see Structure linkLogging and Tracing

Components Based on Usage Type AS-Java

The J2EE parts, that is the Integration Builder (IB), the Adapter Engine (AE), and the Runtime Workbench (RWB), as well as the System Landscape Directory (SLD), all use the standard logging of the SAP NetWeaver J2EE Engine. This can be configured by using the Log Configurator service in the Visual Administrator.

On the Integration Server host (Integration Repository and Integration Directory may be installed on another server), <J2EEdir> stands for the following in the table below:

/usr/sap/<SAPSID>/<instance_name>/j2ee/cluster/server

Log and Trace Files:

Content

File

Path

Technical trace information

tracefile.txt

<J2EEdir>/services/servlet_jsp/work/jspTemp/ MessagingSystem/root/admin/

Application log specific to usage type PI

xi.log

<J2EEdir>/log/applications/com.sap.xi

Default server trace

defaultTrace.trc

<J2EEdir>/log

Tracing is not activated by default. To activate tracing, perform the following steps:

...

       1.      Call the Log Configurator service.

       2.      Switch To advanced mode.

       3.      Select the Location tab page.

       4.      Select a location.

       5.      Change the Severity from None to the required value, for example, Debug.

Available Locations:

Component

Location

File

Path

Integration Repository

XIREP

defaultTrace.trc

<J2EE>/log

Integration Directory

XIDIR

Mapping Runtime

XIRUN

Runtime Workbench

XIRWB

Adapter Engine

com.sap.aii.af

Messaging Runtime

com.sap.aii.messaging

Proxy Framework

Com.sap.aii.proxy.framework

 

Logging is activated by default. To change the preset log level, perform the following steps:

...

       1.      Call the Log Configurator service.

       2.      Select the Categories tab page.

       3.      Choose Applications ® Exchange Infrastructure.

       4.      Change the Severity to the required value.

Old logs are compressed (zipped up) to save disk space. By default, logs are written to a maximum of five files with 10MB capacity of each file. Thus, when this set of five files are full, it will rotate back to the first file and start overwriting the old logs. Before overwriting the old logs, the Log Configurator service backs up the five files into a zip file. So, each zip file contains a set of five log files. The logs within these zip files are called archive logs.

You can view traces, log files, and archive logs by using the Log Viewer service in the Visual Administrator. For more information, see the SAP J2EE Engine Administration Manual under Structure linkLog Viewer.

 

Leaving content frame