RE : RE : [log4plsql] Bug in isFatalEnabled, ...isDebugEnabled functions.
Brought to you by:
gmoulard
From: <log...@li...> - 2004-02-27 10:25:23
|
Hi, In my platform, I don't have a conversion error. Wich is your database version and platform? Could you send a test case? Regards, Guillaume Moulard gmo...@us... Project : LOG4PLSQL : Oracle Database Loggin tools see : http://log4plsql.sourceforge.net/ and : http://sourceforge.net/mailarchive/forum.php?forum=3Dlog4plsql-all-i= nfo or http://www.mail-archive.com/log...@li... for log...@li... -----Message d'origine----- De : log...@li... [mailto:log4plsql-all-i= nfo...@li...] Envoy=E9 : mardi 24 f=E9vrier 2004 09:05 =C0 : log...@li... Objet : RE : [log4plsql] Bug in isFatalEnabled, ...isDebugEnabled functions= . At 18:06 23/02/2004, you wrote: >Hi Francesco, > >Could you explaine the problem. I don't see your problem. > >Now this feature run (see and test whith TestISXXXXXXEnable.sql) Hi, I try to explain more clearly the problem. The bug was a bug in all function isXXXXXXEnable in version . As you can see, for instance in function isFatalEnabled FUNCTION isFatalEnabled ( pCTX IN LOG_CTX ) RETURN boolean is begin return islevelEnabled(pCTX, getLevelInText('FATAL')); end; there is a call to getLevelInText whereas the correct call is getTextInLeve= l. The call used inside the plog version 312 does not work and give a conversion error from text to integer. The fix to this bug is to replace the getLevelInText calls inside isXXXXEnabled the with getTextInLevel calls= . I olso get a lot confused when I search for this error since the name of the two function getLevelInText and getTextInLevel are similar and the oracle error was a bit cryptic. ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1= 356&alloc_id=3D3438&op=3Dclick _______________________________________________ Log4plsql-all-info mailing list Log...@li... https://lists.sourceforge.net/lists/listinfo/log4plsql-all-info log4plsq : http://log4plsql.sourceforge.net |