Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Anyway to disable timstamping log files???

Tim Funk

2003-10-14

Replies:

The Loggers automatically rotate nightly. You'll need to extend LoggerBase or
FileLogger to have it not rotate.

-Tim

Rhugga wrote:
>
> Here is my logs/ directory:
> catalina2003-10-13.log
> localhost2003-10-13.log
> localhost_access2003-10-13.log
> localhost_admin_log.2003-10-13.txt
> se_access.2003-10-13.log
>
> I do not want the timestamp, I want the logs to keep getting appended
> to. I manage the log rotation outside of tomcat using scripts.
>
> Here is my global logger:
>     <Logger className="org.apache.catalina.logger.FileLogger"
>          prefix="catalina" suffix=".log" timestamp="true"/>
>
> Here is the localhost logger:
>      <Logger className="org.apache.catalina.logger.FileLogger"
>           directory="logs" prefix="localhost" suffix=".log"
>           timestamp="true"/>
>
> Is this configurable? I do not see any options to Logger that do this.
>
> Thx,
> CC
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.