At 02:10 06.07.2002 +0530, you wrote:

>The extension are for the following
>
>4) custom level off below info and on above info.

This might bite you very hard in the future. It is a bad idea to
extend Logger to support new level types. You should use the
Logger.log method instead as in:

   logger.log(Your.custom.level, "your message");

The problem stems from the fact that the logger repository might be
set by the EJB Container and not your application. In that situation
the logger instances returned by Logger.getLogger might be
incompatible with what your application expects, i.e. you will get a
NoSuchMethodException when your application accesses info+() or
info-() methods.


--
Ceki


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to