Hi,
 
For you requiment, in this version, is necessary to use one custom context.
You can update the logging level at runtime dynamically
 
    pCTX PLOG.LOG_CTX := PLOG.init (pLEVEL       => PLOG.LDEBUG);
 
Regard,
 
Guillaume.

De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : lundi 31 janvier 2005 13:01
À : [email protected]
Objet : [log4plsql] Small addition to the application to allow for runtime change of loglevel.

HI all,
 
I have recently used the LOG4PLSQL software for logging in a small application. I missed the possibility to change the logging level at runtime. In the production environment code changes are only allowed during specified deploy time windows, so changing the DEFAULT_LEVEL parameter in the PLOGPARAM package specification was not an option to change the logging level.
 
See http://technology.amis.nl/blog/wp-trackback.php/352 for the source code of the changes.
 
Rgds
Dick Dijkshoorn. 

Reply via email to