﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>LogViewPlus Support » LogViewPlus Support » Configuration &amp; Customization  » Having issue with DateTime parsing</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Wed, 29 Apr 2026 04:11:10 GMT</lastBuildDate><ttl>20</ttl><item><title>Having issue with DateTime parsing</title><link>https://www.logviewplus.com/forum/post/770</link><description>Hi,&lt;br/&gt;I have starting using LogViewPlus recently and I am very pleased with it thus far.&lt;br/&gt;However, I am having an issue with the parsing of time values from our logs.&lt;br/&gt;&lt;br/&gt;I have created a parser mapping and was able to apply it to my log files (*.log) easily enough.&lt;br/&gt;A sample line of our log file would typically look like the following (all on a single line)&lt;br/&gt;2020-09-25 &lt;span style="background-color: rgb(202, 219, 52);"&gt;20:13:48,583550Z&lt;/span&gt; [1] INFO PackageManagementService Configuration: ConfigurationCache.MergeUpdatedPartsIntoPartsCache; Added part: DataAcquisitionMessaging to the cache&lt;br/&gt;&lt;br/&gt;The parser mapping that I created seems to parse everything except that it only shows 3 digits of millisecond precision versus the 5 that our logger emits.&amp;nbsp; I have highlighted the timestamp portion of the sample log entry above.&amp;nbsp; All of our times are in UTC, hence the Z suffix on them.&lt;br/&gt;&lt;br/&gt;I used a pattern parser in LogViewPlus and the parser arguments that I configured are as follows:&lt;br/&gt;&lt;strong&gt;%d{yyyy-MM-dd HH:mm:ss,ffffffZ} %t %p %c %m%n&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;You can see that I included "5 letter fs" to indicate 5 digits of millisecond precision, which our machines are able to produce, in the parser configuration.&amp;nbsp;&lt;br/&gt;However, when LogViewPlus produces the output in the UI, it displays only the first three digits of millisecond precision.&lt;br/&gt;It is not rounding in any fashion based on the data, but rather is truncating the extra 2 digits.&lt;br/&gt;&lt;br/&gt;Any help would be appreciated.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 29 Sep 2020 17:09:11 GMT</pubDate><dc:creator>kanstey</dc:creator></item><item><title>RE: Having issue with DateTime parsing</title><link>https://www.logviewplus.com/forum/post/773</link><description>:-)&amp;nbsp; Glad that helped.&amp;nbsp; Please let me know if you have any further questions or issues.&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Tue, 29 Sep 2020 17:09:11 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Having issue with DateTime parsing</title><link>https://www.logviewplus.com/forum/post/772</link><description>I had just found that setting as your reply came in :)&lt;br/&gt;Thanks.&lt;br/&gt;&lt;br/&gt;Appreciate the quick response.&lt;br/&gt;&lt;br/&gt;</description><pubDate>Tue, 29 Sep 2020 17:06:06 GMT</pubDate><dc:creator>kanstey</dc:creator></item><item><title>RE: Having issue with DateTime parsing</title><link>https://www.logviewplus.com/forum/post/771</link><description>Hi Kevin,&lt;br/&gt;&lt;br/&gt;Thanks for taking the time to evaluate LogViewPlus.&lt;br/&gt;&lt;br/&gt;It sounds like this is a display issue.&amp;nbsp; Have you tried modifying the time display format?&lt;br/&gt;&lt;a href="https://www.logviewplus.com/docs/date___time.html"&gt;https://www.logviewplus.com/docs/date___time.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Tue, 29 Sep 2020 16:46:22 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>