tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shahed Ali" <sha...@enoor.com>
Subject Re: log files in tomcat
Date Thu, 01 Feb 2001 01:10:57 GMT
I have modified my tomcat.sh/bat file
to have
java org.apache.whatever.tomcat start 1>/path/to/logs/stdout.log 2>&1

So when you startup tomcat , the stdout and stderr go to a file.

But since you are using windows, I am not very sure about the syntax.

just a > file.log may redirect both System.out.println and
System.err.println to
the same file.

Hope this helps
Regards
Shahed.


Mime
View raw message