tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillermo Labatte <labat...@yahoo.com>
Subject Re: tomcat servlet output
Date Wed, 02 Jan 2002 15:47:25 GMT
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:paechoi@earthlink.net]
>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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message