Show TOC Start of Content Area

Function documentation Configuration Tool  Locate the document in its SAP Library structure

This graphic is explained in the accompanying text

The descriptions below do not apply if you are working in the J2EE Engine environment. The entire J2EE Engine logging configuration is gathered in an XML file called log-configuration.xml. You can use this file to create or edit controllers, destinations, and formatters, and to create or edit filters and associated destinations.

For more information, see Log Configuration.

 

SAP Logging API Configuration Tool

This graphic is explained in the accompanying text

The SAP Logging API provides a means of independently configuring the behavior and output of logging, so that you do not need to change the source code. This can be very useful, for example, if you want to generate more or fewer log messages depending on the diagnosis level you are in. You can also change the output destination or the format of the message. All these tasks can be specified separately and integrated dynamically in the program. It is not necessary to recompile the source code.

If you are clear about the concept, when you refer back to the example shown in the Enabling Logging for an Application section of this tutorial, you will realize that, eventually, what are left in the source code are the APIs from steps 1 and 4. The rest can be taken out and placed in a “.properties” file. The following two sections show you how to read the “.properties” file from your code, and how to construct a “.properties” file.

For more information, see:

      Calling the Configuration Tool

      Syntax and Semantics of the Properties File

      Support of Periodic Reloading

      Summary Highlights

      Tips and Tricks

End of Content Area