LogViewPlus is failing when logs are recreated


Author
Message
Miserableman
Miserableman
New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)New Member (44 reputation)
Group: Forum Members
Posts: 6, Visits: 33
Hello,

I work for a medium-sized developer and I'm currently investigating the feasibility of us using LogViewPlus to view and debug the logs generated by the software we make. It has lots of killer features that would be very useful for us, but unfortunately at least one killer drawback.

The software being developed generates a text log, and overwrites this log each time the application is started. By default, LogViewPlus keeps the output from old logs in its view, so if you run the application five times and then try to filter the view, you see output from the previous four runs along with the current run. This confuses the output and is not desired.

I found the option in LogViewPlus settings to "Clear all log entries when the log file is rolled or recreated" which looks like it should solve this. However, when this option is enabled, LogViewPlus now shows the following prompt when the software being developed is restarted.



LogViewPlus then has to be restarted, or the logfile has to be re-added to its view, in order to view logs again.

A potential factor is that the log-generating software, when restarted, copies the old log file and renames it within the same folder. For example, if the application is set to write logs to client.log, when it starts up it will copy the previous client.log to client-backup-<timestamp>.log and then start a new client.log file. This behaviour may or may not be related.

Has anyone seen this issue before, and/or know how to fix it?
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Miserableman - Last Year
LogViewPlus Support - Last Year
Miserableman - Last Year
LogViewPlus Support - Last Year
Miserableman - Last Year
                         That is all expected behaviour. LogViewPlus works hard to never hide a...
LogViewPlus Support - Last Year
                             Firstly, this: Yes I do. A filter for "Log file open," shows just...
Miserableman - Last Year
                                 Glad that helped and you have a working solution - thanks for letting...
LogViewPlus Support - Last Year
Miserableman - Last Year
LogViewPlus Support - Last Year
Miserableman - Last Year
LogViewPlus Support - Last Year

Similar Topics

Login

Explore
Messages
Mentions
Search