[logback-user] Date instead of timestamp in dbappender

Stephan Vollmer vollmer.stephan at googlemail.com
Thu Nov 3 20:10:08 CET 2011


On Thu, Nov 3, 2011 at 17:20, Jordan Blay <be.special at gmail.com> wrote:

>
> Is there a way in dbappender, that timestamp field in logging_event will
> be a
> real date instead of int?
>

I added another column of type timestamp and a default value of
'CURRENT_TIMESTAMP'. This adds the current timestamp to each row that is
inserted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20111103/9325cfd5/attachment.html>


More information about the Logback-user mailing list