tail -f mylog.out | grep error
Binary file (standard input) matches
You are happily tailing a log file and grepping the output when a certain character sequence in your output makes grep believe that you've sent it a binary file :(
Fortunately you can force grep to treat the file as text with the -a switch
tail -f mylog.out | grep -a error