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.
In reply to Re: Re: Log file tailing
by matija
in thread Log file tailing
by wellsja
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |