﻿<?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  » What should happen when the log file is deleted and restarted?</title><generator>InstantForum 2017-1 Final</generator><description>LogViewPlus Support</description><link>https://www.logviewplus.com/forum/</link><webMaster>LogViewPlus Support</webMaster><lastBuildDate>Sat, 11 Apr 2026 06:05:16 GMT</lastBuildDate><ttl>20</ttl><item><title>What should happen when the log file is deleted and restarted?</title><link>https://www.logviewplus.com/forum/post/65</link><description>Not sure if this is a bug report, feature request or me not being sure what should happen.&lt;br/&gt;In my situation, the log file is being monitored just fine.&amp;nbsp; Then the application which generates the log file stops.&amp;nbsp; When the application restarts, the existing log file is deleted and a new one recreated.&lt;br/&gt;I think I want Log Viewer keeps the old lines on the screen and starts to tail the new ones.&amp;nbsp; What I want to happen is for it to reload and lose from the screen all the log messages that are no longer in the file.&amp;nbsp; Does that make sense?&lt;br/&gt;Maybe I can already do this and just can't see the option.&amp;nbsp; It's not a big deal, I can click the "reload file" button myself though.&lt;br/&gt;</description><pubDate>Mon, 01 Apr 2019 06:58:15 GMT</pubDate><dc:creator>Mark Sunnucks</dc:creator></item><item><title>RE: What should happen when the log file is deleted and restarted?</title><link>https://www.logviewplus.com/forum/post/120</link><description>Hi Mark,&lt;br/&gt;&lt;br/&gt;I just wanted to let you know that I have added the configuration setting mentioned above to the latest BETA version of LogViewPlus - v2.3.4.&amp;nbsp; The new setting is available under the 'Tail &amp;amp; Scroll' settings.&amp;nbsp; The setting works by refreshing the log file when a log file roll (or re-creation) is detected.&lt;br/&gt;&lt;br/&gt;Thanks again for the suggestion!&amp;nbsp; Please let me know if you have any further questions or issues.&lt;br/&gt;&lt;br/&gt;Toby</description><pubDate>Mon, 01 Apr 2019 06:58:15 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item><item><title>RE: What should happen when the log file is deleted and restarted?</title><link>https://www.logviewplus.com/forum/post/66</link><description>Hi Mark,&lt;br/&gt;&lt;br/&gt;The expected behaviour here is that the existing log lines are kept and new log lines are added as they are written.&amp;nbsp; The behaviour you are suggesting makes complete sense, but is unfortunately unsupported at the moment.&amp;nbsp; I will look into adding a configuration setting for this into the next release.&amp;nbsp; Thanks for the suggestion!&lt;br/&gt;&lt;br/&gt;In the meantime, I recommend you use a session when starting and stopping your application&amp;nbsp; &amp;nbsp;This has the advantage of keeping a history of your application runs.&lt;br/&gt;&lt;a href="https://www.logviewplus.com/docs/use_a_session.html"&gt;https://www.logviewplus.com/docs/use_a_session.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Hope that helps, &lt;br/&gt;&lt;br/&gt;Toby </description><pubDate>Thu, 17 Jan 2019 17:45:55 GMT</pubDate><dc:creator>LogViewPlus Support</dc:creator></item></channel></rss>