You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2004/12/31 22:50:05 UTC

DO NOT REPLY [Bug 32906] - Logging to Console stops working when context restarts

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32906>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32906





------- Additional Comments From hoju@visi.com  2004-12-31 22:50 -------
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



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org