You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by André Martiniano <an...@bol.com.br> on 2001/05/08 21:04:56 UTC

Question about Debug log

Hy all

I´m running TomCat 3.2.1 and Apache 1.3.19 on Red Rat Linux and it´s ok.

I´d like to know if there is a way to deviate the Debug output (that one shown when script startup.sh is executed). I know that it´s just add the line path=´logs/tomcat.log´ to server.xml file.
But what i want is that an user could see, using telnet, this debug in real-time, in other words, the user won´t need to open /logs/tomcat.log and after some time close it and open again to reflect the changes. Accurately as if this user it had executed script startup.sh and debug left in its screen.

Any one can help me?
Thanks!


RE: Question about Debug log

Posted by Brandon Cruz <bc...@norvax.com>.
using telnet to the linux machine, you can type

tail -f path_to_tomcat_home/logs/tomcat.log

This will show the info on the screen as it is written to the file.



  -----Original Message-----
  From: André Martiniano [mailto:andremartiniano@bol.com.br]
  Sent: Tuesday, May 08, 2001 2:05 PM
  To: tomcat-user@jakarta.apache.org
  Subject: Question about Debug log


  Hy all

  I´m running TomCat 3.2.1 and Apache 1.3.19 on Red Rat Linux and it´s ok.

  I´d like to know if there is a way to deviate the Debug output (that one
shown when script startup.sh is executed). I know that it´s just add the
line path=´logs/tomcat.log´ to server.xml file.
  But what i want is that an user could see, using telnet, this debug in
real-time, in other words, the user won´t need to open /logs/tomcat.log and
after some time close it and open again to reflect the changes. Accurately
as if this user it had executed script startup.sh and debug left in its
screen.

  Any one can help me?
  Thanks!