How to override log_time format of DbTarget (logging)

I’d like to use MySQL DateTime format for storing log_time column in log table

(kind of agreeing with mike here: )

Is there a hook to override the format where the DbTarget ( ) writes this value or should I create a child class and override some method?

Thanks for help,


Looks like you have to create a child class, as there is no direct hook/variable to change.

Cool thanks amnah, yeah I’ll look into this.

I don’t need micro-precision log timing - no yet anyway - so prefer easily-readable timestamp values!