Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 40841 invoked from network); 14 Aug 2006 15:50:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Aug 2006 15:50:10 -0000 Received: (qmail 4672 invoked by uid 500); 14 Aug 2006 15:50:06 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 4645 invoked by uid 500); 14 Aug 2006 15:50:06 -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 4629 invoked by uid 99); 14 Aug 2006 15:50:06 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2006 08:50:06 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of stauffer.james@gmail.com designates 66.249.82.232 as permitted sender) Received: from [66.249.82.232] (HELO wx-out-0506.google.com) (66.249.82.232) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2006 08:50:05 -0700 Received: by wx-out-0506.google.com with SMTP id t12so1256751wxc for ; Mon, 14 Aug 2006 08:49:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=euUE3u2OH168gR2fMYilrZEOBroCygsjWuheVhWD3SAL9O/Vo8fjAHQfONxq0b/TkEEqY4pSg2x1AYFe5L9lPeExuTHQ769/1LFGwVCPnhkNfD5CLKpSVQqGKtxBIXgu0M9GzaivokH14Fp7eLibUGk+cioCmUUEn1RdaGhYYyA= Received: by 10.78.180.18 with SMTP id c18mr3321543huf; Mon, 14 Aug 2006 08:49:44 -0700 (PDT) Received: by 10.78.166.16 with HTTP; Mon, 14 Aug 2006 08:49:44 -0700 (PDT) Message-ID: Date: Mon, 14 Aug 2006 10:49:44 -0500 From: "James Stauffer" To: "Log4J Users List" Subject: Re: different config files for different tomcat applications In-Reply-To: <44E0981C.5010000@watt22.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <44DC3D07.5080908@watt22.hu> <44DC54EC.30909@watt22.hu> <44DCA274.5020900@watt22.hu> <44DCA6D4.5000304@watt22.hu> <44E062C1.5020501@watt22.hu> <44E0981C.5010000@watt22.hu> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Is there a log4j.jar under shared or common? On 8/14/06, Takacs Bence wrote: > I _only_ moved log4j.properties from shared/classes to two different > webapps/app/WEB-INF/classes directory. In other words I deleted the > original file and made two different copies (with the required > modifications of course). > > Both projects has it's own log4j.jar too. > > Thanks: > Bence > > > James Stauffer wrote: > > Did you move log4j.properties also? You will need to do that too. > > > > On 8/14/06, Takacs Bence wrote: > >> Hello > >> > >> James Stauffer wrote: > >> > I meant different config files. If you move the lib/log4j.jar and > >> > classes/log4j.properties from the shared classpath (i.e. > >> > tomcat/common) to each webapp (i.e. webapps/app/WEB-INF) then each app > >> > will use a separate config file. > >> > >> I deleted the common /tomcat/shared/classes/log4j.properties, and put > >> different properties file to the different projects > >> (webapps/app/WEB-INF/classes). But it seems that only one send logs out > >> of it. I can't get the other one's logs neither on the console nor on > >> ftp. Maybe on tcp it could be problem that I set the same port for the > >> two appenders but what about the console??? > >> > >> Any idea? > >> > >> Thanks: > >> Bence > >> > >> --------------------------------------------------------------------- > >> 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 > > -- James Stauffer Are you good? Take the test at http://www.livingwaters.com/good/ --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org