logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Stauffer" <stauffer.ja...@gmail.com>
Subject Re: problems with SMTPAppender under tomcat
Date Mon, 14 Aug 2006 14:52:19 GMT
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 <bence@watt22.hu> 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 <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
>
>


-- 
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


Mime
View raw message