[log4plsql] V2.3 on Oracle 8.1.7: ORA-20501 with bug fix
Brought to you by:
gmoulard
From: <log...@li...> - 2003-11-27 09:22:55
|
When the following call is performed (after having appropriately initialised ctx) PLOG.setLevel(ctx); ORA-20501: Set Level not in LOG predefine constantes I have looked in the code and noticed that the pLEVEL is set to PLOG.NOLEVEL in that case. The problem is simply that in the following code of SetLevel IF pLEVEL <> LOFF AND pLEVEL <> LFATAL AND pLEVEL <> LERROR AND pLEVEL <> LWARN AND pLEVEL <> LINFO AND pLEVEL <> LDEBUG AND pLEVEL <> LALL THEN the following line is missing. pLEVEL <> NOLEVEL AND You might want to amend the code appropriately Sincerely luca |