Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 11843 invoked from network); 26 Feb 2006 11:08:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Feb 2006 11:08:19 -0000 Received: (qmail 54601 invoked by uid 500); 26 Feb 2006 11:08:05 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 53600 invoked by uid 500); 26 Feb 2006 11:08:01 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 53585 invoked by uid 99); 26 Feb 2006 11:08:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 03:08:01 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jak-tomcat-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Feb 2006 03:08:00 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FDJkU-0003CU-Og for users@tomcat.apache.org; Sun, 26 Feb 2006 12:07:34 +0100 Received: from e181015134.adsl.alicedsl.de ([85.181.15.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Feb 2006 12:07:34 +0100 Received: from andreas by e181015134.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Feb 2006 12:07:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@tomcat.apache.org From: Andreas Schildbach Subject: Re: per-webapp logging problem with Tomcat 5.5 Date: Sun, 26 Feb 2006 12:07:34 +0100 Lines: 57 Message-ID: References: <44018318.2030505@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e181015134.adsl.alicedsl.de User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051013) X-Accept-Language: en-us, en In-Reply-To: <44018318.2030505@gmx.net> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Boris, thanks for your answer. > I could not see any error but one: > handlers = 1catalina.org.apache.juli.FileHandler, > 2localhost.org.apache.juli.FileHandler, > 3app1.org.apache.juli.FileHandler, 4app2.org.apache.juli.FileHandler, > java.util.logging.ConsoleHandler > as first line (aside from comments) of your logging.properties. What is that line good for? How is it different to the ".handlers" line I've already got in my logging.properties? When I insert your line, the following happens: Some events are indeed logged to app1.xxx.log and app2.xxx.log. However, most events are logged to catalina.xxx.log. Here is what goes to the correct log: Feb 26, 2006 11:41:21 AM org.apache.catalina.core.ApplicationContext log INFO: Loading Spring root WebApplicationContext Feb 26, 2006 11:42:02 AM org.apache.catalina.core.ApplicationContext log INFO: Loading WebApplicationContext for Spring FrameworkServlet 'front_controller' Feb 26, 2006 11:44:27 AM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext Feb 26, 2006 11:44:27 AM org.apache.catalina.core.ApplicationContext log INFO: Closing WebApplicationContext of Spring FrameworkServlet 'front_controller' Here are some examples of what goes to the wrong log: Feb 26, 2006 11:41:22 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/webContext.xml] or Feb 26, 2006 11:41:34 AM org.springframework.orm.hibernate3.LocalSessionFactoryBean afterPropertiesSet INFO: Building new Hibernate SessionFactory Could it be that all libraries I use go to the wrong log? >> Do I need to have unique numbers as a prefix to app1 and app2? (could >> I use 0app1 and 0app2?) Do you have an answer for this question? Regards, Andreas --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org