Tail seems to drop the connection when monitoring this log file. Is there a way to keep this alive? I have tried both -f & -F with and without piping it thru tai64nlocal
tail -f /var/log/mail/smtp/current |tai64nlocal
Thanks
This log is rotated every five minutes (depending on how frequent you run toaster-watcher.pl in your cron). That would explain why you suddenly stop seeing output. After it is rotated you have to run tail again on the latest "current" file.
Cheers
read the man page for tail. Pay special attention to the -F option.