LogViewPlus Support

File Name Pattern in Directory Monitoring

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

By elock91 - 17 May 2023

Hi there

I am trying to set up Directory Monitoring. Its one folder, but with various log files in, each by date. The format specifically in my case looks like:

MS20230515_orders.LOG
MS20230516_orders.LOG
MS20230517_orders.LOG

I want to set it up so as each new days log file starts, it tails on the end of the previous day.

I tried to set the file name pattern as MS2023%%%%_orders.LOG but this didn't seem to work. Is there a way to make this work, ignoring other log files with different file names in the same folder.

Thanks
 
By LogViewPlus Support - 17 May 2023

Hi,

Try setting your file name pattern to MS*_orders.LOG.  Then set a user defined ignore rule to ignore files older than two days.

Hope that helps,

Toby