Closed tukusejssirs closed 1 year ago
Yes, I can add a global flag in config to control the timestamp format.
Thanks for adding this. However, isn’t it vhanging the timestampt formation in the payload/data? This issue was about the log timestamp format.
Oh, well in that case, this is configurable via nlog.config.
Currently, the timestamp format is
2023/05/04 11:14:12.836
which is already in UTC (at least in my case), however, it is not obvious.How about outputting it in ISO 8601 format? In this case, I don’t care if the timezone is UTC or local, but it should be obvious what is the timezone via outputting the timezone offset, e.g.
2023-05-04T11:14:12.836+00:00
or2023-05-04T09:14:12.836+02:00
.