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: different config files for different tomcat applications
Date Mon, 14 Aug 2006 15:56:27 GMT
Try running with -Dlog4j.debug.  That should give you more info about
the problem.

On 8/14/06, Takacs Bence <bence@watt22.hu> wrote:
> No
>
> James Stauffer wrote:
> > Is there a log4j.jar under shared or common?
> >
> > On 8/14/06, Takacs Bence <bence@watt22.hu> 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 <bence@watt22.hu> 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
> >>
> >>
> >
> >
>
>
> ---------------------------------------------------------------------
> 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