perl -i.orig -ne 'print unless /^Fan 2 not rotating/' logfile.log