You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ceki Gülcü <ce...@qos.ch> on 2004/05/15 12:16:27 UTC
Re: DBAppender: logging_event.timestamp: Number instead of
timestamp
At 07:55 PM 5/14/2004, you wrote:
>In DBAppender why is logging_event.timestamp a number instead of timestamp?
because LoggingEvent stores the timstamp information as a long. It's
simpler to use the format already available in the original event. However,
the number stored uses a Java specific convention and one of our goals is
to have DBAppender's output format be language-independent. Having said
that, XMLLayout which can be read by various log4* implementations already
uses the Java convention.
I hope this answers your question.
>James Stauffer
--
Ceki Gülcü
For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org