Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 67439 invoked from network); 29 Feb 2008 09:29:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 09:29:19 -0000 Received: (qmail 99679 invoked by uid 500); 29 Feb 2008 09:29:12 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 99660 invoked by uid 500); 29 Feb 2008 09:29:12 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 99649 invoked by uid 99); 29 Feb 2008 09:29:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 01:29:12 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.136.131.247] (HELO mail.valtech.de) (83.136.131.247) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 09:28:26 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: multiple web application in same web container using different log4j configuration Date: Fri, 29 Feb 2008 10:26:23 +0100 Message-ID: <2FAA1F5E4DDAEB4BAE2346562E4B060CCD04F8@dedus-mail03.DE.valtech.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: multiple web application in same web container using different log4j configuration Thread-Index: Ach6HDPWA+24SdYHTMCahO0XrjJjegAmPL5K References: <2FAA1F5E4DDAEB4BAE2346562E4B060CCD04F5@dedus-mail03.DE.valtech.com> From: "Andreas Grund" To: "Log4J Users List" X-Virus-Checked: Checked by ClamAV on apache.org Hi Jake, thanks for your answers. And yes, I realized that 1.3 is dead. I will = switch back to the 1.2 branch as far as possible. Greetings and have a nice weekend, Andreas -----Urspr=FCngliche Nachricht----- Von: Jacob Kjome [mailto:hoju@visi.com] Gesendet: Do 28.02.2008 16:09 An: Log4J Users List Betreff: Re: multiple web application in same web container using = different log4j configuration =20 You have one of two choices. 1. Put Log4j in a parent classloader where all apps can see it and use = a=20 repository selector, usually based on JNDI. 2. Don't put log4j in a parent classloader. Only put it in WEB-INF/lib = for=20 each webapp. And put log4j.xml in WEB-INF/classes for each webapp. = Since=20 none of the webapps will be using the same log4j instance, they will = each use=20 a separate logger repository. BTW, you do realize that Log4j-1.3 is not an official version of Log4j = and=20 development has ceased in favor of further development of Logj4-1.2.xx = along=20 with Log4j companions for some Log4j-1.3 specific functionality? Jake On Thu, 28 Feb 2008 15:16:15 +0100 "Andreas Grund" wrote: > Hi Mailinglist, >=20 > I have several web applications running in the same container. I want = to=20 > use different log4j config files for them, but I have problems to do = so.=20 > The problem is, that every time just one web application is logging. I = use=20 > the weblogic 8.1 application server and log4j 1.3. What do I have to = do to=20 > activate logging for every web application or isn=B4t it possible? >=20 > Thanks for your help! >=20 > Greetings, > Andreas >=20 > --=20 > Andreas Grund > externer Mitarbeiter Projet GUTS bei Conti > mailto:andreas.grund@valtech.de > Mobile: >=20 >=20 >=20 >=20 > Germany >=20 > Phone: >Fax: >=20 >=20 >=20 > Gesch=E4ftsf=FChrer: Ingo Kriescher > Amtsgericht D=FCsseldorf HRB48672 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org >For additional commands, e-mail: log4j-user-help@logging.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org