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.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to