﻿<?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  » Lines with Different Pattern</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Wed, 20 May 2026 21:22:42 GMT</lastBuildDate><ttl>20</ttl><item><title>Lines with Different Pattern</title><link>https://www.logviewplus.com/forum/post/19</link><description>Hello, &lt;br/&gt;&lt;br/&gt;I am trying to make use of LogViewPlus by defining a custom expression for Pattern Parsing.&lt;br/&gt;Right now I have this pattern:&amp;nbsp;&lt;br/&gt;&lt;br/&gt;[%d][%S{File}:%s{Function}:%s{Line}]%m%n&lt;br/&gt;&lt;br/&gt;But not all of my lines have this pattern, some of them have only &lt;br/&gt;&lt;br/&gt;[%d]%m%n&lt;br/&gt;&lt;br/&gt;How can I setup the pattern to give me empty strings of File, Function and Line columns when they are missing.&lt;br/&gt;Right now the parser stop loading any lines when the first line that doesn't matches the pattern is encountered.&lt;br/&gt;&lt;br/&gt;Thanks! Regards</description><pubDate>Thu, 08 Nov 2018 19:38:48 GMT</pubDate><dc:creator>Email User</dc:creator></item><item><title>RE: Lines with Different Pattern</title><link>https://www.logviewplus.com/forum/post/22</link><description>I don't think the PatternParser will be able to handle that scenario.&amp;nbsp; You may be better off using the BasicParser.&lt;br/&gt;</description><pubDate>Thu, 08 Nov 2018 19:38:48 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: Lines with Different Pattern</title><link>https://www.logviewplus.com/forum/post/21</link><description>&lt;br/&gt;Hello Toby, &lt;br/&gt;&lt;br/&gt;Thanks for the tip!  &lt;br/&gt;&lt;br/&gt;But what if I have an arbitrary number of spaces at the begining of the line, before [%d], the is any format like regex \s* ?&lt;br/&gt;</description><pubDate>Thu, 08 Nov 2018 19:38:00 GMT</pubDate><dc:creator>Email User</dc:creator></item><item><title>RE: Lines with Different Pattern</title><link>https://www.logviewplus.com/forum/post/20</link><description>&lt;font color="#000000" face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#000000" face="Calibri" size="3"&gt;Hi,&lt;/font&gt;&lt;/p&gt;&lt;font color="#000000" face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#000000" face="Calibri" size="3"&gt;Have you tried using a multi-pattern?&amp;nbsp; This is described here:&lt;br/&gt;&lt;/font&gt;&lt;a href="https://www.logviewplus.com/docs/pattern_parser.html" target="_blank"&gt;&lt;font color="#0000ff" face="Calibri" size="3"&gt;&lt;a href="https://www.logviewplus.com/docs/pattern_parser.html"&gt;https://www.logviewplus.com/docs/pattern_parser.html&lt;/a&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;font color="#000000" face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#000000" face="Calibri" size="3"&gt;It is also a good idea to specify the date format explicitly.&amp;nbsp;Especially if the date formats differ.&amp;nbsp; Please see:&lt;br/&gt;&lt;/font&gt;&lt;a href="https://www.logviewplus.com/docs/date_specifier.html" target="_blank"&gt;&lt;font color="#0000ff" face="Calibri" size="3"&gt;&lt;a href="https://www.logviewplus.com/docs/date_specifier.html"&gt;https://www.logviewplus.com/docs/date_specifier.html&lt;/a&gt;&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;font color="#000000" face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#000000" face="Calibri" size="3"&gt;Thanks,&lt;/font&gt;&lt;/p&gt;&lt;font color="#000000" face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;p&gt;&lt;font color="#000000" face="Calibri" size="3"&gt;Toby &lt;/font&gt;&lt;/p&gt;&lt;font color="#000000" face="Times New Roman" size="3"&gt;&lt;/font&gt;</description><pubDate>Thu, 08 Nov 2018 19:37:29 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>