[Yanel-dev] log4j Category

Oli Kessler ok at ncode.ch
Fri Nov 2 01:02:19 CET 2007


Hi all,

The website http://logging.apache.org/log4j/1.2/apidocs/index.html  
says in the documentation for Category:

***
This class has been deprecated and replaced by the Logger subclass.  
It will be kept around to preserve backward compatibility until mid  
2003.
..

// Deprecated form:
Category cat = Category.getInstance("foo.bar")

// Preferred form for retrieving loggers:
Logger logger = Logger.getLogger("foo.bar")
***

What do you think?

Cheers,
-ok




More information about the Yanel-development mailing list