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. alexIn reply to Re: Using Seek to read and parse growing log files
by talexb
in thread Using Seek to read and parse growing log files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |