Can Tomcat make log statistics like Apache?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can Tomcat make log statistics like Apache?

Lorenzo Jimenez
Does Tomcat can generate a log file just like Apache or IIS?

Thanks,

Lorenzo


-------------------------------------------------------------

Si usted no es el destinatario indicado en este mensaje o responsable como persona
de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor notifique
al correo [hidden email]. Para más referencia sobre términos importantes
relacionados a este correo visite http://www.nacion.com/disclaimer/index_es2.htm

If you are not the addressee indicated in this message (or responsible for delivery of the
message to such person), you may not copy or send this message to anyone, please notify
to [hidden email]. Click here for important additional terms relating to this e-mail.
<http://www.nacion.com/disclaimer/index_en2.htm>

-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can Tomcat make log statistics like Apache?

Ben Souther
Yes,
Just un-comment the AccessLogValve in your server.xml file



<Valve className="org.apache.catalina.valves.AccessLogValve"
       directory="logs"  prefix="localhost_access_log." suffix=".txt"
       pattern="common" resolveHosts="false"/>
       
                                                                                                                   






On Fri, 2005-05-06 at 20:19, Lorenzo Jim�nez wrote:

> Does Tomcat can generate a log file just like Apache or IIS?
>
> Thanks,
>
> Lorenzo
>
>
> -------------------------------------------------------------
>
> Si usted no es el destinatario indicado en este mensaje o responsable como persona
> de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor notifique
> al correo [hidden email]. Para m�s referencia sobre t�rminos importantes
> relacionados a este correo visite http://www.nacion.com/disclaimer/index_es2.htm
>
> If you are not the addressee indicated in this message (or responsible for delivery of the
> message to such person), you may not copy or send this message to anyone, please notify
> to [hidden email]. Click here for important additional terms relating to this e-mail.
> <http://www.nacion.com/disclaimer/index_en2.htm>
>
> -------------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Loading...