let the CRITICAL detection to check_log

check_log is a smarter way to deal with the CRITICAL pattern in a log file.