in reply to Using Seek to read and parse growing log files
It may be more efficient to parse chunks of log file as they get handed to you by logrotate. That way you won't have to store the last location of where you looked in the file and worry about invalidating that when you really to rotate your logs.
--t. alex
|
|---|