Back at it...
This is what I have in my log4j.properties file:
# Set root logger priority to DEBUG and its appenders
log4j.rootLogger=DEBUG, A1
# A1 PROPERTIES
log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender
log4j.appender.A1.File=webapp.log
log4j.appender.A1.DatePattern='.'-ww
All:
Sorry if I've missed a thread regarding this.
I have multiple web applications on a single instance of Tomcat. I want
to get all of the logging that goes to catalina.out to go to the
individual web app logs.
I'm trying to use swallowOutput, but I'm not sure if I have it in the
right spot.
, 2004 9:17 AM
To: Tomcat Users List
Subject: swallowOutput and catalina.out
All:
Sorry if I've missed a thread regarding this.
I have multiple web applications on a single instance of Tomcat. I
want
to get all of the logging that goes to catalina.out to go to the
individual web app logs.
I'm
: swallowOutput and catalina.out
All:
Sorry if I've missed a thread regarding this.
I have multiple web applications on a single instance of
Tomcat. I want
to get all of the logging that goes to catalina.out to go to the
individual web app logs.
I'm trying to use swallowOutput, but I'm
This is how I did it before implementing log4j.
Remember, the TC logger is going away in 5.5x
Context path=/myapp
docBase=c:\\apps\\myapp
debug=0
crossContext=false
reloadable=false
privileged=false
swallowOutput=true
On Wed, 2004-10-27 at 09:27, Shapira, Yoav wrote:
Hi,
Hmm, I'm not sure if swallowOutput on the DefaultContext works. I've
only used it on a proper Context declaration. What Tomcat version are
you using?
Sorry. That would've helped. It's Tomcat v5.0.28.
If you're saying it should go in
You implemented log4j to log what usually goes into catalina.out?
--
On Wed, 2004-10-27 at 09:34, Ben Souther wrote:
This is how I did it before implementing log4j.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
Yeah. System.out is for novices and small apps. Real apps need a real
logging toolkit.
Yoav Shapira http://www.yoavshapira.com
-Original Message-
From: Ryan Daly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 27, 2004 9:54 AM
To: Tomcat Users List
Subject: Re: swallowOutput
On Wed, 2004-10-27 at 09:55, Shapira, Yoav wrote:
Hi,
Yeah. System.out is for novices and small apps. Real apps need a real
logging toolkit.
Is there a link you can point me toward to get log4j going instead of
catalina.out?
If I implement that now, then I'll be good to go to move to Tomcat
Hi,
Is there a link you can point me toward to get log4j going instead of
catalina.out?
If I implement that now, then I'll be good to go to move to Tomcat 5.5?
Link: http://logging.apache.org/log4j.
Steps:
1. Download log4j 1.2.8 .zip file
2. Extract file wherever, take log4j-1.2.8.jar and put
=some/log/directory
suffix=.txt timestamp=true /
/Context
-Original Message-
From: Ryan Daly [mailto:[EMAIL PROTECTED]
Sent: 27 October 2004 14:17
To: Tomcat Users List
Subject: swallowOutput and catalina.out
All:
Sorry if I've missed a thread regarding this.
I have multiple web
: swallowOutput and catalina.out
On Wed, 2004-10-27 at 09:27, Shapira, Yoav wrote:
Hi,
Hmm, I'm not sure if swallowOutput on the DefaultContext works. I've
only used it on a proper Context declaration. What Tomcat version are
you using?
Sorry. That would've helped. It's Tomcat v5.0.28
We are trying to have our errors (SYSTEM.ERR, SYSTEM.OUT) sent to web-app specific
logs, instead of catalina.out.
We thought that the following would work, but seqreq_log_XXX only ends up with Java
errors, everything else goes to catalina.out:
!-- Tomcat seqreq Context --
Context
13 matches
Mail list logo