Entering content frame

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

Use

The SAP J2EE Engine provides an easy and complex mechanism for configuring the behavior and output of logging, without having to write Java source code. For example, if you want to generate more or fewer log messages, this depends on the diagnosis level they are in. Sometimes you may also want to change the output destination, or even the format of the message. These all can be specified separately and dynamically integrated with the program. You do not have to recompile the source code.

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 about the syntax of this XML, see Structure linklog-configuration.dtd in the Reference Manual.

To configure the logging parameters of your project, use the SAP NetWeaver Developer Studio. The following configuration options are provided:

Adding, Editing, and Removing Log Formatters

Adding, Editing, and Removing Log Destinations

Adding, Editing, and Removing Log Controllers

Managing the log-configuration.xml Source

 

Caution

For a more precise and detailed information about the log and trace configuration, see Log Configuration in the Administration Manual.

 

See also:

SAP Logging API tutorial

 

Leaving content frame