RE: Logging configuration in Tomcat

2009-01-25 Thread Jay
--- On Tue, 1/13/09, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Logging configuration in Tomcat To: "Tomcat Users List" Date: Tuesday, January 13, 2009, 11:29 AM > From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in To

RE: Logging configuration in Tomcat

2009-01-25 Thread Jay
rale, Charles R Subject: RE: Logging configuration in Tomcat To: "Tomcat Users List" Date: Tuesday, January 13, 2009, 1:13 PM > From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in Tomcat > > Ok. What I am asking is, is there a mechanism to roll &g

RE: Logging configuration in Tomcat

2009-01-25 Thread Jay
rles R Subject: RE: Logging configuration in Tomcat To: "Tomcat Users List" Date: Tuesday, January 13, 2009, 1:13 PM > From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in Tomcat > > Ok. What I am asking is, is there a mechanism to roll > cata

RE: Logging configuration in Tomcat

2009-01-13 Thread Caldarale, Charles R
> From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in Tomcat > > Ok. What I am asking is, is there a mechanism to roll > catalina.out based on size of the file. You're missing the point. If you configure log4j properly AND your webapps do no

RE: Logging configuration in Tomcat

2009-01-13 Thread Jay
Ok. What I am asking is, is there a mechanism to roll catalina.out based on size of the file. Thanks --- On Tue, 1/13/09, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Logging configuration in Tomcat To: "Tomcat Users List" Date: Tuesday, January 13, 2009

Re: Logging configuration in Tomcat

2009-01-13 Thread Mark Shifman
rchive/tomcat-users/msg00444.html > > Thanks > > --- On Mon, 1/12/09, Caldarale, Charles R wrote: > > From: Caldarale, Charles R > Subject: RE: Logging configuration in Tomcat > To: "Tomcat Users List" > Date: Monday, January 12, 2009, 6:41 PM > >> Fro

RE: Logging configuration in Tomcat

2009-01-13 Thread Caldarale, Charles R
> From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in Tomcat > > I guess, Tomcat is directing all the log4j log messages > in the code to system.out which in turn is being written > to catalina.out You laboring under a misconception - Tomcat doe

RE: Logging configuration in Tomcat

2009-01-13 Thread Jay
same log file. But, our requirement is that there should be a single file. Considering all these, is there a way to achieve rolling for catalina.out, based on size ?   Thanks --- On Mon, 1/12/09, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Logging configuration in Tomcat

RE: Logging configuration in Tomcat

2009-01-12 Thread Caldarale, Charles R
> From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in Tomcat > > There are many web apps. Log4j logger is used in all web apps > & there are no system.out or system.err Then where is your catalina.out usage coming from? Tomcat does not itse

RE: Logging configuration in Tomcat

2009-01-12 Thread Jay
1/11/09, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Logging configuration in Tomcat To: "Tomcat Users List" Date: Sunday, January 11, 2009, 10:34 PM > From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in Tomcat > > My ac

RE: Logging configuration in Tomcat

2009-01-11 Thread Caldarale, Charles R
> From: Jay [mailto:difficult...@yahoo.com] > Subject: RE: Logging configuration in Tomcat > > My actual problem is that, as it is, catalina.out is growing Sounds like your webapps are using System.out or System.err for their logging, which is poor practice. They should be us

RE: Logging configuration in Tomcat

2009-01-11 Thread Jay
specify the file size & no of counts for catalina.out, please ?   Thanks --- On Sun, 1/11/09, Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Logging configuration in Tomcat To: "Tomcat Users List" Date: Sunday, January 11, 2009, 11:28 AM > From: Jay

Re: Logging configuration in Tomcat

2009-01-11 Thread Rusty Wright
If you're looking for a way to have a central log4j file for all apps, that may not be easily done. I don't know how it is now, but I remember that in previous versions of tomcat sharing tomcat's logging was problematic, which I think may have been due to Commons Logging. But that's just my h

RE: Logging configuration in Tomcat

2009-01-11 Thread Caldarale, Charles R
> From: Jay [mailto:difficult...@yahoo.com] > Subject: Logging configuration in Tomcat > > Could someone let me know, how to configure the logging level > & also the file appender type at global level, please ? Not sure what you mean for "at global level"; if you're asking about Tomcat's internal