logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Takacs Bence <be...@watt22.hu>
Subject Re: problems with SMTPAppender under tomcat
Date Mon, 14 Aug 2006 08:32:15 GMT
 >> 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 <bence@watt22.hu> 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 <bence@watt22.hu> 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


Mime
View raw message