bruno-garcia / log4net.ElasticSearch

log4net appender to ElasticSearch
https://bruno-garcia.github.io/log4net.ElasticSearch/
Other
220 stars 92 forks source link

convert timestamp to local time #105

Closed googlecookie closed 5 years ago

googlecookie commented 6 years ago

Currently, the timestamp property is using UTC, but we want to record our local time, so, can you add a option that we can convert the timestamp value to local time? And Clock.Date also has this problem. Thank you!

jptoto commented 5 years ago

@googlecookie I don't think this would be a good feature to add. Keeping the time in UTC is universal to everyone and can be converted on read via your application.