Continuous tail on rolling logs ...


Author
Message
Mike Thompson
Mike Thompson
New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)New Member (10 reputation)
Group: Forum Members
Posts: 1, Visits: 13
Hi all,
Love this log tool so far!
My logs roll after they reach a certain size and the new log has a slightly different filename.

Example:
ApplicationLog.20190612.0.log << current tailing log
ApplicationLog.20190612.0.log.lck  << lock file indicates name of current tailing log
ApplicationLog.20190612.1.log
ApplicationLog.20190612.1.log
ApplicationLog.20190611.0.log
ApplicationLog.20190611.1.log
ApplicationLog.20190611.1.log


So, when I tail the current tailing log and the log rolls over, the current tail stops and I have to manually specify the next log file to keep tailing.
Am I able to monitor for the change and automatically roll over to tailing the new log?  Maybe a way to trigger off the .lck file?

I went through the documentation but I couldn't figure out which feature might support this. if there is one .. Smile
Any tips you have would be appreciated!

Mike Thompson
Ottawa, Canada


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Login

Explore
Messages
Mentions
Search