logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject RE: [GUMP@brutus]: jakarta-commons/commons-logging failed
Date Wed, 12 May 2004 07:55:21 GMT


All hail gump. The use of Priority has been deprecated for over 2
years and it will be removed in log4j 1.3.

Fortunately, the required changes are easy and are backward compatible.
Commons-logging code needs to be changed as follows.

Lines such as

   getLogger().log(FQCN, Priority.FATAL, message, t );

need to be changed to

   getLogger().log(FQCN, Logger.FATAL, message, t );

There 5 or 6 such lines in commons-logging. Note that the resulting
commons-logging code will run on both log4j 1.2.x and 1.3

I hope this helps,

At 12:56 AM 5/12/2004, Paul Smith wrote:

>Hi All,
> > Not sure if this will get sufficient attention without
> > bringing it here, so
> > doing so...
>Yes, there has been a few changes under the hood in log4j recently.   We'll
>have to chat internally to see what we can do, and get back to you.
>All hail gump for picking it up.
>Paul Smith

Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"
      ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp  

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message