On Aug 19, 2005, at 10:50 AM, Bruno Melloni wrote:

One question and one suggestion for the log4j developers:

Suggestion:

When deprecating a class, please mention in the javadocs what the
replacement code is.  Not everyone is a guru at all aspects of log4j,
and some hints and examples would go a long way when we try to upgrade
legacy code to the latest version.

Question:

org.apache.log4j.spi.RootCategory is now deprecated. What should I use
instead?  My exact call is: "Hierarchy hierarchy = new Hierarchy(new
RootCategory(Level.DEBUG));)"


RootLogger. In the Javadoc @deprecation comment for the RootCategory class, there is a mention to use RootLogger instead. However, I haven't checked the Javadoc to see how that was rendered.


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

Reply via email to