Hi

I've the following sequence:
        Category root=Category.getRoot();
        root.addAppender(new ConsoleAppender());
        Category log=Category.getInstance(XYZ.class.getName());
.....
    log.debug("abcdef");

and I get the following error:
log4j:ERROR No appenders could be found for category (XYZ).
log4j:ERROR Please initialize the log4j system properly.


I really the initialization of root or any parent category not sufficient?

THX
Armin





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

Reply via email to