tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ameer Mawia <ameer.ma...@gmail.com>
Subject Re: Where do System.out and System.err go in Tomcat?
Date Fri, 10 Oct 2014 10:05:02 GMT
Hi,

Tomcat by default dump both console output and error in catalina.out under
tomcat-home/log directory. But you can change it any day by modifying
startup script catalina.sh/catalina.bat in *nix environment or catalina.bat
in bin directory of tomcat home.

Regards,
Ameer Mawia
On Oct 10, 2014 2:19 PM, "M. D." <moder@abv.bg> wrote:

>  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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message