|
Sandy, You are right, when you change the default level in PLOGPARAM
pakage spec, some code is invalidated. If you want change the default log level, you can
use the context. Declare If we don't use a constant for the default level, we
can't use it in a static declaration: FUNCTION init ( pSECTION IN TLOG.LSECTION%type
default NULL , -- root of the tree section pLEVEL IN TLOG.LLEVEL%type
default PLOGPARAM.DEFAULT_LEVEL , -- log level (Use only for debug) pLOG4J IN BOOLEAN
default PLOGPARAM.DEFAULT_USE_LOG4J, -- if true the log is send to log4j pLOGTABLE IN BOOLEAN
default PLOGPARAM.DEFAULT_LOG_TABLE, -- if true the log is insert into
tlog pOUT_TRANS IN BOOLEAN
default PLOGPARAM.DEFAULT_LOG_OUT_TRANS, -- if true the log is in
transactional log pALERT IN BOOLEAN
default PLOGPARAM.DEFAULT_LOG_ALERT, -- if true the log is write in alert.log pTRACE IN BOOLEAN
default PLOGPARAM.DEFAULT_LOG_TRACE, -- if true the log is write in trace
file pDBMS_OUTPUT IN BOOLEAN
default PLOGPARAM.DEFAULT_DBMS_OUTPUT, -- if true the log is send in
standard output (DBMS_OUTPUT.PUT_LINE) pDBMS_PIPE_NAME IN VARCHAR2
default PLOGPARAM.DEFAULT_DBMS_PIPE_NAME, -- pDBMS_OUTPUT_WRAP IN PLS_INTEGER default
PLOGPARAM.DEFAULT_DBMS_OUTPUT_LINE_WRAP ) RETURN LOG_CTX; There is a lot of performance problem. let me know if they is big problems for you. Guillaume De :
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Hi, |
Title: Change logging level for entire application?
- [log4plsql] Change logging level for entire appli... log4plsql-all-info-admin
- log4plsql-all-info-admin
