> i have certain process that are started by tomcat..And the only
> way for  me to know that the process is going on is to put
> system.out.print(),but then this also prints on my log files,
> is there any way other than this to print only on screen and not to
> the log files ..?
> 

There are several approaches.
The first (and best IMHO) is to use log4j which can be configured to
send to the console, a log, or just about anywhere else.

If you are not using log4j you can still watch the logging in realtime.

If you're on a Unix box, tail -f will allow you to watch a log file as
you are writing to it.  Textpad on windows will allow you to do the same
thing.  

Also, if you are on windows and start tomcat by using
"<CATALINA_HOME>\bin\catalina start" the output will go to the DOS
window.

Hope this helps
-Ben



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

Reply via email to