You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Davanzo Luca <Lu...@INSIEL.IT> on 2001/05/30 10:05:30 UTC

Where's a servlet log?

Hi,
When from a servlet i use the metthod HttpServlet.log(String, Exception) it
apparentrly works but I cant' find the log file, neither in TOMCAT_HOME/log
NOR ANYWHERE ELSE..
Where is it? or has the log method an empty implementation or what?
Using tomcat 3.2 on winnt
Thanks

-----
dott. Luca Davanzo
Insiel S.p.A. - Direzione Tecnica
Via G. Pieri, 2 - 33100 Udine
Italy
tel. +39-0432-551971
*	e-mail: luca.davanzo@insiel.it
-----


Re: Where's a servlet log?

Posted by Egidijus Drobavicius <eg...@vb.lt>.
It is $TOMCAT_HOME/logs/servlet.log. You can set this to any file by
modifying server.xml. This file is self explanatory
Note, that log file is started from scratch each time you restart the server
so you must take care of old log your self (i did this by modifying
tomcat.sh script.

Regards,
Egidijus

> Hi,
> When from a servlet i use the metthod HttpServlet.log(String, Exception)
it
> apparentrly works but I cant' find the log file, neither in
TOMCAT_HOME/log
> NOR ANYWHERE ELSE..
> Where is it? or has the log method an empty implementation or what?
> Using tomcat 3.2 on winnt
> Thanks
>
> -----
> dott. Luca Davanzo
> Insiel S.p.A. - Direzione Tecnica
> Via G. Pieri, 2 - 33100 Udine
> Italy
> tel. +39-0432-551971
> * e-mail: luca.davanzo@insiel.it
> -----
>
>