Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@apache.org Received: (qmail 51376 invoked from network); 1 Aug 2003 18:23:40 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 1 Aug 2003 18:23:40 -0000 Received: (qmail 17320 invoked by uid 97); 1 Aug 2003 18:26:19 -0000 Delivered-To: qmlist-jakarta-archive-log4j-user@nagoya.betaversion.org Received: (qmail 17313 invoked from network); 1 Aug 2003 18:26:19 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 1 Aug 2003 18:26:19 -0000 Received: (qmail 49478 invoked by uid 500); 1 Aug 2003 18:23:04 -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 49380 invoked from network); 1 Aug 2003 18:23:02 -0000 Received: from mxgateway.vignette.com (HELO vscan4.vignette.com) (12.110.208.252) by daedalus.apache.org with SMTP; 1 Aug 2003 18:23:02 -0000 Received: from vscan4.vignette.com ([10.20.16.161]) by vscan4.vignette.com with Microsoft SMTPSVC(5.0.2195.5329); Fri, 1 Aug 2003 13:23:05 -0500 Received: FROM omail1.vignette.com BY vscan4.vignette.com ; Fri Aug 01 13:23:04 2003 -0500 Received: from IMC2.vignette.com (imc2.vignette.com [10.20.16.155]) by omail1.vignette.com (8.12.9/8.11.2) with ESMTP id h71IN3rb012005 for ; Fri, 1 Aug 2003 13:23:03 -0500 (CDT) Received: by imc2.vignette.com with Internet Mail Service (5.5.2656.59) id ; Fri, 1 Aug 2003 13:23:04 -0500 Message-ID: From: "Ebersole, Steven" To: "'Log4J Users List'" Subject: RE: Picking up wrong properties file in Weblogic Date: Fri, 1 Aug 2003 13:23:01 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset="iso-8859-1" X-OriginalArrivalTime: 01 Aug 2003 18:23:05.0653 (UTC) FILETIME=[F3776E50:01C35859] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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