Guido Medina wrote: >if you are working in linux try to send the log file to any terminal, for >example /dev/tty9 and after you'll see all the System.out.println pressing >Alt+F9, any linux person knows that, use the terminals for logs my friend. > >Regards and happy new year, > >Guido. > >-----Original Message----- >From: Pae Choi [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 01, 2002 12:07 PM >To: Tomcat Users List >Subject: Re: tomcat servlet output > > >That will look ugly even though it's for the test purpose. Try >use the log file. You will more than likely need them in the >production environment unless that is not your preference >and no necessary. > > >Pae > >>At 05:13 PM 12/31/2001 -0800, you wrote: >> >>>My servlets in Tomcat works just fine, but I was wondering where does the >>> >>'System.out.println("bla bla...")' goes when the servelet is executed. I >>would like to use this to debug my servlet. >> >>>thanks, >>> >>>Sanjeev >>> >> >>In my case (Win 2K), System.out.println goes to the Catalina console >> >window > >>that's spawned when Tomcat is started. >>
In Linux it goes to the file catalina.out in CATALINA_HOME/logs. I use tail -f catalina.out in order to see the messages while they are written. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
