The SAP Logging API provides a means of independently configuring the behavior and output of logging, without you having 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. Sometimes you may also want to change the output destination or the format of the message. These can all be specified separately and integrated dynamically in the program. It is not necessary to recompile the source code.
This section is relevant only for standalone tools applications. For example, the Config Tool.
● Get acquainted with the section Enabling Logging for an Application.
More information: Enabling Logging for Applications.
● If you are clear about the example in this section, you will see that, 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 sections show you how to read the properties file from your code, and how to construct a properties file:
● Calling the Configuration Tool
● Syntax and Semantics of the Properties File
● Support of Periodic Reloading