tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vasile GABURICI <gabur...@ss.pub.ro>
Subject Re: VOTE: Timestamps in log
Date Wed, 05 Jul 2000 17:40:17 GMT
On Tue, 4 Jul 2000, Alex Chaffee wrote:

> 
> I've implemented Timetamps in logs as follows:
> 
> You can turn them off entirely, turn them on as raw-msecs, or turn
> them on as a clean time-date format (yyyy-MM-dd hh:mm:ss)
> 
> Default behavior: on as string, e.g.
> 2000-07-04 10:41:23 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
> 
> With timestampFormat="msec":
> 962719779440 - ContextManager: Adding context Ctx( /examples )
> 
> You can also supply any arbitrary format string you want, to pass to
> SimpleDateFormat.  It wasn't hard, so I just went and did it :-)
> 
> Any objections to adding this to the release branch?  It's much
> cleaner than the current behavior (new Date().toString() or not at
> all)
> 
> VOTE: add above to release branch?
> 

	+1

> -- 
> Alex Chaffee                       mailto:alex@jguru.com
> jGuru - Java News and FAQs         http://www.jguru.com/alex/
> Creator of Gamelan                 http://www.gamelan.com/
> Founder of Purple Technology       http://www.purpletech.com/
> Curator of Stinky Art Collective   http://www.stinky.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
> 
> 


Mime
View raw message