tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. D." <mo...@abv.bg>
Subject Where do System.out and System.err go in Tomcat?
Date Fri, 10 Oct 2014 08:48:35 GMT
 Hello devs,

I saw this post on the Internet:
http://www.jguru.com/faq/view.jsp?EID=302980

> Where do System.out and System.err go in Tomcat?
> By default, they will go to the console where the tomcat is started. You have to modify
the startup 
> scripts to redirect them to appropriate files. See Tomcat Mailing List for a discussion
on how to 
> redirect the System.out and System.err.

> On the other hand, if you are running Tomcat as an NT Service, you can modify the conf/wrapper.properties
> file and set wrapper.stdout and wrapper.stderr properties to point to your log files.

So... what do I have to do in order so that Tomcat5 can redirect System.err to logfile instead
of just the console. 

Best regards,
Marin

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


Mime
View raw message