You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Kumar, Sunitha" <su...@cisco.com> on 2004/03/18 20:37:23 UTC

catalina logs

Hi folks,
 
How can catalina logs be redirected to another location?
thanks,
-sunitha

Re: catalina logs

Posted by "Steven J. Owens" <pu...@darksleep.com>.
Daryl,

On Thu, Mar 18, 2004 at 02:40:44PM -0500, Daryl Stultz wrote:
> "Tomcat Users List" <to...@jakarta.apache.org> writes:
> >How can catalina logs be redirected to another location?
> >thanks,
> 
> Yes, what OS are you running? Are you running as a service or from
> the console?

     I'll bite.  I'm interested in this question as well.  I'm using
tomcat 4 on redhat linux.  

     I understand that Tomcat has a logging API, I understand that
it's a wrapper around some other log package (log4j?).  I understand
that using System.out.println() for logging statements is my first
mistake.  I haven't really had time to do much research, but I do
notice that each of my webapps has its own log file.  Is there a
simple change I can make, maybe switching my System.out.println()
invocations to invoke some logger class?

-- 
Steven J. Owens
puff@darksleep.com

"I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt." - Me at http://darksleep.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: catalina logs

Posted by Daryl Stultz <da...@6degrees.com>.
"Tomcat Users List" <to...@jakarta.apache.org> writes:
>Hi folks,
> 
>How can catalina logs be redirected to another location?
>thanks,

Yes, what OS are you running? Are you running as a service or from the
console?

Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:daryl@6degrees.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org