[Yanel-dev] log4j Category

Michael Wechner michael.wechner at wyona.com
Fri Nov 2 15:53:13 CET 2007


Oli Kessler wrote:

> 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?


is this refering to the generic Logger API of Java

http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/Logger.html

?

Which would use log4j as an implementation?

If so, then I think we should do this.

WDOT?

Cheers

Michi

>
> Cheers,
> -ok
>
>
> _______________________________________________
> Yanel-development mailing list
> Yanel-development at wyona.com
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



-- 
Michael Wechner
Wyona      -   Open Source Content Management - Yanel, Yulup
http://www.wyona.com
michael.wechner at wyona.com, michi at apache.org
+41 44 272 91 61



More information about the Yanel-development mailing list