LoggerHelper

See the Javadocs in <EPM_ORACLE_HOME>/common/docs/ReportingAnalysis/SDK/javadoc.

This class provides methods to enable clients to log their messages using ODL logging architecture. The client acquires a LoggerHelper artifact instance in every source file in which it wants to log messages. The client uses the static getLogger() method that takes a class name (String or Class artifact) as a parameter. Usually, this class is the fully qualified source file name.

The installer creates two directories:

The configuration file contains sdk_file_handler. in which the following properties can be changed:

The log level is configured by setting the level attribute of logger element. By default the log level is set to WARNING:1.

Table 1. Log Levels

ODL Log LevelODL Description
INTERNAL_ERROR:1The program has experienced an error for some internal or unexpected non-recoverable exception.
ERROR:1A problem requiring attention from the system administrator has occurred.
WARNING:1An action occurred or a condition was discovered that should be reviewed and may require action before an error occurs.
NOTIFICATION:1A report of a normal action or event. This could be a user operation, such as "login completed" or an automatic operation such as a log file rotation.
NOTIFICATION:16A configuration-related message or problem.
TRACE:1A trace or debug message used for debugging or performance monitoring. Typically contains detailed event data.
TRACE:16A fairly detailed trace or debug message.
TRACE:32A highly detailed trace or debug message.

The following logging configuration file entities are used to write log files: