You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bruno Antunes <ba...@whateversoft.com> on 2003/08/22 23:25:33 UTC
Writting to tomcat logs
Is it possible to write to Tomcat logs files (without using the
servlet's log method)?
What I want to perform, is to create a java.util.logger.LogHanddler,
that will log to the tomcat log files. I have implemented this handler
for WebLogic, JRun, Orion, etc, but i cannot find an elegant way to
do-it with Tomcat.
thanks,
--
Bruno Antunes,
Java Software Engineer
WhatEverSoft - http://www.whateversoft.com
Pra�a de Alvalade, n.� 6 - 4.� piso
1700-036 Lisboa, PORTUGAL
Tel: +351 217994200
Fax: +351 217994242
--
A presente mensagem pode conter informa��o considerada confidencial.
Se o receptor desta mensagem n�o for o destinat�rio indicado, fica
expressamente proibido de copiar ou endere�ar a mensagem a terceiros.
Em tal situa��o, o receptor dever� destruir a presente mensagem e por
gentileza informar o emissor de tal facto.
Privileged or confidential information may be contained in this
message. If you are not the addressee indicated in this message, you
may not copy or deliver this message to anyone. In such case, you
should destroy this message and kindly notify the sender by reply
email.
Re: Writting to tomcat logs
Posted by Tim Funk <fu...@joedog.org>.
Log4j and commons-logging are perfect for things like this. As to your
specific question, I don't know the answer without digging into the source.
-Tim
Bruno Antunes wrote:
> Is it possible to write to Tomcat logs files (without using the
> servlet's log method)?
>
> What I want to perform, is to create a java.util.logger.LogHanddler,
> that will log to the tomcat log files. I have implemented this handler
> for WebLogic, JRun, Orion, etc, but i cannot find an elegant way to
> do-it with Tomcat.
>
> thanks,
>