I'm using cygwin tail to follow busy java web application logs, on a windows server, generating roughly 16Gb worth of logs a day. I"m constrained to 10MB log sizes, so the files roll very often.
The command line I'm using is :
/usr/bin/tail -n 1000 -F //applicationserver/logs/logs.log
It survives 2-4 rolls of the file, about 4-6 minutes, but eventually, usually reports:
"File truncated" and then echos the name of the file every second. the file is busily filling and rotating. Am I exceeding the capability of tail?