grab error messages from log file try 2