DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9750>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9750 Using AsynchAppender in logging configuration prevents virtual machine from exiting Summary: Using AsynchAppender in logging configuration prevents virtual machine from exiting Product: Log4j Version: 1.2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Minor Priority: Other Component: Appender AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I am using log4j to provide logging for a tomcat web application. I am initializing log4j as described in http://jakarta.apache.org/log4j/docs/manual.html : I am placing log4j.jar in WEB-INF/lib I am placing log4jconfig.xml in WEB-INF/classes and I am specifing the system property log4j.configuration=log4jconfig.xml when starting the servlet container. Normally I can start tomcat, perform a few simple operations that create log entries, and shutdown tomcat properly (remote connection triggers process end). However, when I use a configuration that includes an AsynchAppender, different behaviour occurs. Tomcat starts as normal, the program progress and log entries happen as normal, but when tomcat is shut down, the virtual machine does not end. I have been able to reproduce this problem with a very simple test case, which I will attach shortly. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
