Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 71332 invoked from network); 1 Aug 2003 18:33:39 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Aug 2003 18:33:39 -0000 Received: (qmail 17660 invoked by uid 97); 1 Aug 2003 18:36:19 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@nagoya.betaversion.org Received: (qmail 17653 invoked from network); 1 Aug 2003 18:36:19 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Aug 2003 18:36:19 -0000 Received: (qmail 69599 invoked by uid 500); 1 Aug 2003 18:33:18 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 69555 invoked from network); 1 Aug 2003 18:33:17 -0000 Received: from excdmz6.cinfin.com (216.196.231.36) by daedalus.apache.org with SMTP; 1 Aug 2003 18:33:17 -0000 Received: by excdmz6.cinfin.com with Internet Mail Service (5.5.2650.21) id ; Fri, 1 Aug 2003 14:33:21 -0400 Message-ID: <560BB48D9A412D42AEF874777A93511E04B0860B@exchq5.cinfin.com> From: "Crumbo, Brian" To: 'Log4J Users List' Subject: RE: Picking up wrong properties file in Weblogic Date: Fri, 1 Aug 2003 14:33:20 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The directory was in the system classpath. I took it out, and now I get a "No appenders could be found for category (root)." message. Does this mean its not finding the properties file? To answer the other questions, this is a Struts application, and I'm in an Action class in the war file. I haven't gotten to logging in the EJB jar file yet. -----Original Message----- From: Ebersole, Steven [mailto:steven.ebersole@vignette.com] Sent: Friday, August 01, 2003 2:23 PM To: 'Log4J Users List' Subject: RE: Picking up wrong properties file in Weblogic Is that directory on the classpath somewhere higher than the weblogic app classloader? For example is it on the system classpath or server classpath? Where is the class which triggers log4j initialization? Is it contain within the war file? If, for example, and ejb component is the first to reference log4j, it would not be able to see the stuff in the WEB-INF/classes directory. What else is inside the ear file? Is everything in the ear supposed to share that log4j config? -----Original Message----- From: Crumbo, Brian [mailto:Brian_Crumbo@CINFIN.com] Sent: Friday, August 01, 2003 12:48 PM To: 'log4j-user@jakarta.apache.org' Subject: Picking up wrong properties file in Weblogic I have deployed an application as an ear file to Weblogic. The war file within the ear file contains the log4j.properties file in the WEB-INF/classes directory, and the log4j.jar in the WEB-INF/lib directory. My understanding is that log4j should pick up the log4j.properties file from the WEB-INF/classes directory by default. However, my application, for some unknown reason, is picking up a log4j.properties file from elsewhere on my machine...from a directory that contains a Java application that has not been deployed. Anybody know why log4j would be going outside the web app to pick up another properties file? --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: log4j-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: log4j-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: log4j-user-help@jakarta.apache.org