RE: swallowOutput and catalina.out

2004-11-19 Thread Ryan Daly
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

RE: swallowOutput and catalina.out

2004-10-27 Thread Shapira, Yoav
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? Yoav Shapira http://www.yoavshapira.com -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27,

RE: swallowOutput and catalina.out

2004-10-27 Thread Steve Kirk
Yoav answered this yesterday. Search for RE: Server.xml configuration question at http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] pache.org -Original Message- From: Ryan Daly [mailto:[EMAIL PROTECTED] Sent: Wednesday 27 October 2004 14:17 To: Tomcat Users List Subject:

Re: swallowOutput and catalina.out

2004-10-27 Thread Ben Souther
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

RE: swallowOutput and catalina.out

2004-10-27 Thread Ryan Daly
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

Re: swallowOutput and catalina.out

2004-10-27 Thread Ryan Daly
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

RE: swallowOutput and catalina.out

2004-10-27 Thread Shapira, Yoav
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

RE: swallowOutput and catalina.out

2004-10-27 Thread Ryan Daly
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

RE: swallowOutput and catalina.out

2004-10-27 Thread Shapira, Yoav
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

RE: swallowOutput and catalina.out

2004-10-27 Thread Dale, Matt
You have the right idea but in the wrong place. You need to define a Logger for each Context and put swallowOutput on that. Context path=/context override=true swallowOutput=true Logger className=org.apache.catalina.logger.FileLogger prefix=context_log.

RE: swallowOutput and catalina.out

2004-10-27 Thread Dale, Matt
: 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