Summary: | Logging to Console stops working when context restarts | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Wenjun <wenjun> |
Component: | Appender | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 |
Description
Wenjun
2004-12-31 22:15:40 UTC
Where do you have log4j.jar? I suspect you have only one copy in Tomcat's common/lib directory with log4j.properties in common/classes. I also suspect that you aren't using a repository selector. If this is true, then what you see is not a bug, it is expected behavior. Don't call LogManager.shutdown() if you aren't logging to a separate logger repository than the default. Otherwise you will shut down logging of the default logger repository which the server is using. Jake Possible duplicate with 31506. Please confirm that bug still occurs with 1.2.12 release candidate or later. bug #31506 is an Ant bug. I can't imagine this is a duplicate of that :-) Can you double check the bug number and repost? Jake Sorry, Bug 31056. Might have to go get tested for late-onset dyslexia, I've transposed digits on several bugs in CVS log message. *** This bug has been marked as a duplicate of 31506 *** |