Multifile with date rolling

Dec 21, 2012 at 2:27 AM

Hello,

I'm trying to get LogExpert 1.4/4566 to view a log file that has date rolling using MultiFile. My log files are as so:

mylog.log

mylog.log20121220

mylog.log20121219

I've enabled MultFile and set the File name pattern to *$D(YYYYMMDD) but it only loads the most recent log file.

I've also tried *.log$D(YYYYMMDD) but this throws an error:

parsing ".*\.loD?'date'\d\d\d\d\d\d\d\dD)" - Too many )'s.


ArgumentException
   at System.Text.RegularExpressions.RegexParser.ScanRegex()
   at System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
   at System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache)
   at LogExpert.RolloverFilenameBuilder.ParseFormatString(String formatString)
   at LogExpert.RolloverFilenameHandler..ctor(ILogFileInfo logFileInfo, MultifileOptions options)
   at LogExpert.LogfileReader..ctor(String fileName, EncodingOptions encodingOptions, Boolean multiFile, Int32 bufferCount, Int32 linesPerBuffer, MultifileOptions mutlifileOptions)
   at LogExpert.LogWindow.LoadFile(String fileName, EncodingOptions encodingOptions)
   at LogExpert.LogWindow.Reload()
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Coordinator
Dec 21, 2012 at 12:12 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.