﻿<?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 » Help &amp; Support  » How to use Directory Monitoring</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Mon, 13 Apr 2026 11:47:26 GMT</lastBuildDate><ttl>20</ttl><item><title>How to use Directory Monitoring</title><link>https://www.logviewplus.com/forum/post/1675</link><description>Hi,&lt;br/&gt;&lt;br/&gt;I have a use case for directory monitoring and I can't make it work.&lt;br/&gt;Rather than describe what I am doing and the issues I see (because I am probably doing it wrong) I'll state what I want to do and ask how to do it. &lt;br/&gt;The online help doesn't cover this. It tells you how to setup a directory monitor but does not seem to explain anywhere how they work and how you can use them.&lt;br/&gt;&lt;br/&gt;I want to monitor a logs folder which contains separate subfolders per device.&lt;br/&gt;Each device logs to a new log file in its folder each day.&lt;br/&gt;What I want to do is to be able to run logviewplus each day and review the logs for the past day for crashes, hangs or reboots.&lt;br/&gt;My workflow might look something like&lt;br/&gt;1. Open a view of the directory monitor so I end up with a merged log for the last day for each device&lt;br/&gt;2. Apply a template to the merged file that will show me log lines related to hangs, reboots and crashes.&lt;br/&gt;My Nirvana would be to just open a workspace with the directory monitor in it and LogViewPlus loads the last days logs and applies the template so its just ready for review.&lt;br/&gt;&lt;br/&gt;If I were to create the directory monitor each day it does what I want but I wouldn't think this is necessary. I want to create one and re-use it.I figured I could save it in a workspace and open the workspace but I get strange results when I do this. Even if I leave the workspace open and new files appear they get detected and opened but not included into the merged file automatically.&lt;br/&gt;&lt;br/&gt;Thanks in advance.</description><pubDate>Wed, 08 Feb 2023 07:54:59 GMT</pubDate><dc:creator>BradJJ</dc:creator></item><item><title>RE: How to use Directory Monitoring</title><link>https://www.logviewplus.com/forum/post/1679</link><description>A directory monitor is simply a rule which determines which files to open automatically.&amp;nbsp; Specifying an age on a directory monitor helps determine which files to open.&amp;nbsp; Once opened, the age is ignored.&amp;nbsp; LogViewPlus does not automatically close log files or remove log entries.&amp;nbsp;&amp;nbsp;&lt;br/&gt;&lt;br/&gt;Opened log files will be tailed assuming tail is enabled (the default).&amp;nbsp; The target merge file will be updated automatically with tailed changes and refreshed as new log files are added by the directory monitor.&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Wed, 08 Feb 2023 07:54:59 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: How to use Directory Monitoring</title><link>https://www.logviewplus.com/forum/post/1678</link><description>Thanks Toby.&lt;br/&gt;I have set this up again and will report back how I go.&lt;br/&gt;&lt;br/&gt;If I leave LogViewPlus running with this workspace open what is the expected behaviour in terms of LogviewPlus automatically&lt;br/&gt;1. closing files that are now past the date filter (e.g. older then 1 day)&lt;br/&gt;2. removing loglines from the merged file that are now past the date filter&lt;br/&gt;3. adding new files and including them in the merge, and any templates applied to the merge&lt;br/&gt;4. updating existing files (because they have had new log lines added) and updating the merge, and any templates applied to the merge&lt;br/&gt;&lt;br/&gt;</description><pubDate>Wed, 08 Feb 2023 01:07:57 GMT</pubDate><dc:creator>BradJJ</dc:creator></item><item><title>RE: How to use Directory Monitoring</title><link>https://www.logviewplus.com/forum/post/1677</link><description>Hi Brad,&lt;br/&gt;&lt;br/&gt;To do this, please:&lt;br/&gt;1.&amp;nbsp; Create a &lt;a href="https://www.logviewplus.com/docs/monitor_a_directory.html" id="if_insertedNode_1675750907510"&gt;directory monitor&lt;/a&gt; on the root directory of a target machine.&amp;nbsp; Be sure to set the target file age.&lt;br/&gt;2.&amp;nbsp; Repeat step 1 for all target machines.&lt;br/&gt;3.&amp;nbsp; Save the resulting workspace as a &lt;a href="https://www.logviewplus.com/docs/save_a_workspace.html" id="if_insertedNode_1675750925204"&gt;new workspace&lt;/a&gt;.&lt;br/&gt;4.&amp;nbsp; Reopen the new workspace everyday to check yesterdays files.&lt;br/&gt;&lt;br/&gt;The target merge files should be updated as new files are added.&amp;nbsp; This may be a bug, but I have been unable to recreate it locally.&amp;nbsp; Maybe the focus is changing and this is causing some confusion?&lt;br/&gt;&lt;br/&gt;Hope that helps,&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Tue, 07 Feb 2023 06:25:48 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>