in reply to File::Tail with top fill logs
File::Tail does exactly what I need except when the log reaches it's max size setting and start top filling.
What is "it's max size"? I guess you're not filling the filesystem. I guess that you have some program that writes to the log and when it has reached some critical size either in bytes or lines or whatever, starts writing into it from the beginning. It would be interesting to know if it just rewinds it (as with Perl's seek) or if it closes it and opens it again. Without knowing, you may try monitoring the file for size changes or access time modification or something like that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Tail with top fill logs
by boat73 (Scribe) on Oct 12, 2006 at 14:46 UTC | |
by Posthumous (Scribe) on Oct 13, 2006 at 01:04 UTC | |
by boat73 (Scribe) on Oct 13, 2006 at 11:11 UTC |