[logback-dev] [JIRA] (LOGBACK-963) DBAppender's script for Oracle is useless, because Timestamp cannot be read

Robert Elliot rob at lidalia.org.uk
Tue Mar 25 17:12:36 CET 2014


> > In recent script Timestamp is stored as
> > Number and is completely useless, because number "1395673233762"
> > really does not say anything.
> 
> Epoch time is a well established standard for representing times as a
> number of milliseconds since the start of 1970 - in this case
> 1395673233762 is 2014-03-24 15:00:33Z.
> 
> Standard Java java.util.Date instances can be created from an epoch
> time number via constructor.

Apologies, I hadn't read the bug well enough - from the script you're clearly aware of what epoch time is.


More information about the logback-dev mailing list