in reply to Re: Log file tailing
in thread Log file tailing
It also checks for files that have suddenly become shorter (as when a sysadmin does a cat /dev/null >logfile in order to free space), and if the file has not been written for a long time, it closes and reopens it - thus hopefully catching cases where the file has been renamed during a log rotation.
|
|---|