Appender Package |
Description |
PKG_LEHS_ALERT_LOG_APPENDER |
Writes the Log-Message to the Alert-Log of the Database |
PKG_LEHS_APP_INFO_APPENDER |
Writes Parts of a Log-Message to the View V$SESSION by the Package
DBMS_APPLICATION
|
PKG_LEHS_DBMS_OUTPUT_APPENDER |
Writes the Log-Message to the Console by the Package DBMS_OUTPUT.
Be aware of setting the Log-Buffer of this Package just before you start
your Application (on SQL*Plus by calling SET SERVEROUTPUT ON SIZE UNLIMITED).
|
PKG_LEHS_TABLE_APPENDER |
Writes the Log-Message to the Table LEHS_LOG_TABLE_BASIC which a User can
query by the View LEHS_LOGS (in accordance to its Privileges of the
Log-Application)
|
PKG_LEHS_TRACE_FILE_APPENDER |
Writes the Log-Message to the Trace-File of the actual Session |
In fact, these 5 Log Appenders relate to old Log Destinations of LEHS Version 1.3.
With the new Open Appender Architecture (look at
Package Name |
Parameter |
Datatype |
possible Values |
Description |
PKG_LEHS_ALERT_LOG_APPENDER |
LOG_FORMAT |
CLOB |
Default (when NULL): %d [%a:%T:%p] %M[TX=%t]: %m |
Format String (look at
Log Format )
|
PKG_LEHS_APP_INFO_APPENDER |
MIN_LOG_LEVEL |
CLOB |
all available Log-Levels of the Log-Application
Default: same as the maximum Log-Level of the Appender
|
the minimum Log-Level of the Log-Message. If a Log-Message has a
Log-Level below this minimum Log-Level the Log-Message will not be
logged by this Appender
|
ACTION |
CLOB |
APPLICATION |
|
The Name of the Log-Application |
TOPIC |
|
the Topic of the Log-Message |
TRANSACTION |
|
the Log-Transaction of the Log-Message |
CALLER |
|
the Caller of the Log-Message (Format: Owner.Method[Line#]) |
MESSAGE |
|
the Log-Message itself |
|
prints the given Part of the Log-Message (see possible Values)
to the Field V$SESSION.action
(truncated to 32 Characters)
|
MODULE |
CLOB |
APPLICATION |
|
The Name of the Log-Application |
TOPIC |
|
the Topic of the Log-Message |
TRANSACTION |
|
the Log-Transaction of the Log-Message |
CALLER |
|
the Caller of the Log-Message (Format: Owner.Method[Line#]) |
MESSAGE |
|
the Log-Message itself |
|
prints the given Part of the Log-Message (see possible Values)
to the Field V$SESSION.module
(truncated to 48 Characters)
|
CLIENT_INFO |
CLOB |
APPLICATION |
|
The Name of the Log-Application |
TOPIC |
|
the Topic of the Log-Message |
TRANSACTION |
|
the Log-Transaction of the Log-Message |
CALLER |
|
the Caller of the Log-Message (Format: Owner.Method[Line#]) |
MESSAGE |
|
the Log-Message itself |
|
prints the given Part of the Log-Message (see possible Values)
to the Field V$SESSION.client_info
(truncated to 64 Characters)
|
PKG_LEHS_DBMS_OUTPUT_APPENDER |
LOG_FORMAT |
CLOB |
Default (when NULL): %d [%a:%T:%p] %M[TX=%t]: %m |
Format String (look at
Log Format )
|
PKG_LEHS_TABLE_APPENDER |
RETENTION_TIME |
NUMBER |
0 - 99999
0 = infinite Retention Time (Default)
|
Retention Time (in Minutes) for the Log-Entries |
REMOVE_UNUSED_TRANSACTIONS |
CLOB |
TRUE |
|
Remove unused Transactions |
FALSE |
|
Don't remove unused Transactions (Default) |
|
Should unused Transactions be removed (regardless of the
Retention Time) (Default: FALSE ).
|
REMOVE_LOGS_IN_OPEN_TRX |
CLOB |
TRUE |
|
Remove Logs whose Transaction is already opened |
FALSE |
|
Don't remove Logs whose Transaction is open (Default) |
|
Should Log-Entries with open Transactions be removed by the
Cleanup-Procedure (Default: FALSE )
|
PKG_LEHS_TRACE_FILE_APPENDER |
LOG_FORMAT |
CLOB |
Default (when NULL): %d [%a:%T:%p] %M[TX=%t]: %m |
Format String (look at
Log Format )
|