Home » Programming » SAP Tutorial

Tutorial  Logging & Tracing Mechanism in SAP Topic:  SAP Tutorial
Download (127) times
Last Download at Thursday 02nd of September 2010 07:05:43 AM

Tutorial Logging & Tracing Mechanism in SAP

This tutorial covers the new logging and tracing framework (referred as logging API or SAP Logging API hereafter), provided for the Java development projects at SAP. The tutorial focuses on how to use the logging API. The technical implementation details are not covered. Step-by-step instructions and examples are provided. The goal is to encourage and enable the readers to readily start using the logging API after finishing this tutorial. Special features made available in this tool are also introduced in details. ...

There are various infrastructure and application development groups in SAP coding in Java, and either they have their own (quick & dirty) logging mechanism, or they do not do this at all. However, the availability and readability of traces or event logs are very important for both the developers and the potential users, like testing group, support group and operators. Therefore, a common logging framework must be made available to satisfy the requirements of these groups, especially in a large and distributed environment. A standardized infrastructure will be essential and beneficial for both the developers and the consumers.

The concept of the SAP logging tool is very similar to the other available tools in the market. It offers better support for a common practice in logging:

  • Generates classical â trace messagesâ and â log messagesâ
  • There exists APIs that are handy to bridge these two types of messages together for advanced analysis.
  • Other advanced features will be covered in the later sections

With the Location or Category defined, you are ready to insert output methods in your code to fire messages whenever necessary. Each of the call is already assigned a severity level and this provides a clean and easy API for users to use readily.
...
Source: www.sdn.sap.com

Incoming Search: , , , , , , , , ,

Related PDF Files