I'm tailing a log file using tail -f messages.log and this is part of the output:


Lorem ipsum dolor sit amet, consectetur adipiscing elit. 
Fusce eget tellus sit amet odio porttitor rhoncus. 
Donec consequat diam sit amet tellus viverra pellentesque. 
tail: messages.log: file truncated
Suspendisse at risus id neque pharetra finibus in facilisis ipsum.



It shows tail: messages.log: file truncated when the file gets truncated automatically and that's supposed to happen, but I just want tail to show me the output without this truncate message.

I've tried using tail -f messages.log | grep -v truncated but it shows me the message anyway.

Is there any method to suppress this message?


Question: Would it be a problem if all Amazon links were converted to affiliate links?
Answer: In my experience, affiliate links never pay out well. Perhaps with such a huge member base SO might do better.

But how often do you click a link from SO and buy the item right away? I have certainly bought one book I've seen mentioned here (and other places), but I didn't buy it straight away, I went back to Amazon a week later, searched for it and bought it.