Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 22301 invoked from network); 14 Aug 2006 14:52:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Aug 2006 14:52:46 -0000 Received: (qmail 99098 invoked by uid 500); 14 Aug 2006 14:52:42 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 99074 invoked by uid 500); 14 Aug 2006 14:52:42 -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 99063 invoked by uid 99); 14 Aug 2006 14:52:42 -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 07:52:42 -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.225 as permitted sender) Received: from [66.249.82.225] (HELO wx-out-0506.google.com) (66.249.82.225) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Aug 2006 07:52:41 -0700 Received: by wx-out-0506.google.com with SMTP id t12so1239180wxc for ; Mon, 14 Aug 2006 07:52:20 -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=RlZjZhPiRCO5mN083aF2MsEsRknxWj4T27e+rFevA5lISJG404RE4qMDPqTuQkOhqT3qE+UcuHwtUkk1Sksek/Yc1RPswPep8DlB1GJE/EcjoU3V9pYogUrxRaoEK/TYgAoI1+pEC5lZKH2SkomHwDE/q2iHmDE09jI+9PuLzoE= Received: by 10.78.193.5 with SMTP id q5mr3280126huf; Mon, 14 Aug 2006 07:52:19 -0700 (PDT) Received: by 10.78.166.16 with HTTP; Mon, 14 Aug 2006 07:52:18 -0700 (PDT) Message-ID: Date: Mon, 14 Aug 2006 09:52:19 -0500 From: "James Stauffer" To: "Log4J Users List" Subject: Re: problems with SMTPAppender under tomcat In-Reply-To: <44E0350F.8000009@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> <44DCA274.5020900@watt22.hu> <44DCA6D4.5000304@watt22.hu> <44DCB317.4040001@watt22.hu> <44DCB829.2020506@watt22.hu> <44E0350F.8000009@watt22.hu> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sorry I wasn't clear. The only way to have them use a common config is to use a common config file. I was trying to make the point that by using the common config file you are grouping all of your applications together somewhat. On 8/14/06, Takacs Bence 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. > > ...but > > >> >> > If you want all projects to use the same config > >> >> > then you are grouping them together logically. > >> >> How? > >> > You are telling them all to use the same config so you are having > >> > them all use the same log4j instance. > > So, my question is: if there is no common config file in the > tomcat/shared/classes how can I tell different projects to use a common > config? > > How can I "tell them"? > > Thanks: > Bence > > > You said, that I can use > > James Stauffer wrote: > > I don't understand your question. How what? How to use separate config > > files? > > > > On 8/11/06, Takacs Bence wrote: > >> OK, but technically how? > >> > >> from config file? can the config file make a reference to an other > >> config file? what is the syntax of this command? > >> > >> Thanks: > >> Bence > >> > >> James Stauffer wrote: > >> > On 8/11/06, Takacs Bence wrote: > >> >> > If you want all projects to use the same config > >> >> > then you are grouping them together logically. > >> >> How? > >> > You are telling them all to use the same config so you are having them > >> > all use the same log4j instance. > >> > > >> > >> > >> --------------------------------------------------------------------- > >> 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