Logging in Java Technology
Logging means the writing and storing of logs for particular events to store and analyze those events. The log usually contains information about the data source, time stamp, a message text, and an urgency level that specifies the importance of the message. Since the logs contain all of the important information about an event that an administrator needs to know to check the status of a system, the database, and the applications, the logs are very important for monitoring the system landscape.
Logging consists of two components:
·
The
implementation of logging during development. The implementation of logging is
described in the Development Manual under
How to Write Useful
Log and Trace Messages.
·
The
configuration of the logging (during development and at runtime): the
configuration is defined in the file log-configuration.xml, which is
deployed together with the resource. For information about configuring
logging, see
Log
Configuration.
The logging
configuration can be changed at runtime. Adjusting the logging configuration
is one of the administrator’s tasks. For more information, see
Log
Configuration.
For a basic
introduction to the functions of logging, see
SAP Logging
API.
