grep the log file.