Serilog - Possible to Change DateTime/Timestamp Format in RollingFile Sink

695 views
Skip to first unread message

Aaron Glover

unread,
Apr 6, 2015, 8:11:10 PM4/6/15
to ser...@googlegroups.com
Hi All,

I posted this over at stackoverflow; http://stackoverflow.com/q/29472488/4022049



The Current Output of RollingFile Sink for Date time is as follows

2015-04-06 18:40:54.400 +10:00 [Information] Hello World!

Is there anyway to remove the TimeZone Offset? +10:00. To Achieve the following output;

2015-04-06 18:40:54.400 [Information] Hello World!

In my case, the timezone offset is superfluous fluff which is just cluttering my Text Log.


Thanks

Reply all
Reply to author
Forward
0 new messages