| Author |
How to setup Tomcat Server log
|
prakash pawar
Ranch Hand
Joined: Mar 11, 2010
Posts: 42
|
|
Hi All,
As Tomcat Server Log printed to console directly and disappear Later
i want the console log to local file System.out
|
Regards,
Prakash Pawar.
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14475
|
|
Please don't repeat your posts. It won't get answers any faster and it pollutes the forum.
There is no such file as "System.out", System.out is one of 2 output iostreams that Java supports for compatability with Unix-like OS's. The other one is System.err. For most purposes, Windows is "Unix-like" enough when it comes to the System iostreams that it doesn't matter.
The console is System.out and System.err, unless redirection is applied. However, the System.out stream for Tomcat is normally redirected by the Tomcat.bat/tomcat.sh scripts to go to a file named logs/catalina.out.
On Unix (Linux) systems, I normally use a command named "tail" to track output written to catalina.out on the console if I want to watch things as they happen. Windows doesn't come with this command, so the process requires you to develop a solution of your own.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
 |
|
|
subject: How to setup Tomcat Server log
|
|
|