LogViewPlus Support

Convert date time with timezone specifier

https://www.logviewplus.com/forum/Topic2233.aspx

By Hennisch - 10 Sep 2024

Hi 
I have an issue converting the following timestamp in Logview
2024-09-04 22:50:45.796 Z-0700

I have tried multiple formats yet but so far have not found a solution to properly convert it with the offset and the Z letter in place. Any help and recommendation is appreciated.
By LogViewPlus Support - 10 Sep 2024

Hi Hennisch,

Thanks for bringing this issue to our attention.

I have not seen that time zone format before and it appears that it is not possible to parse it in the current version of LogViewPlus.  I will take a look and try to add support in the next LogViewPlus release.

In the meantime, I would recommend ignoring the timezone and parsing your log entry with something like:
%d{yyyy-MM-dd %H:mm:ss.fff} %s %m%n

Hope that helps,

Toby
By Hennisch - 11 Sep 2024

Hi, 
worked for now. JUst cant use the offset that way but better than nothing. BigGrin

Can configure that for now in the tool itself.
Thx!
By LogViewPlus Support - 12 Sep 2024

Glad that helped.  Thanks for letting me know!

Toby