plugins/check_log: revert the use of Perl regexp because grep is not able to
read a list of regexps from a file and fail with "grep: the -P option only
supports a single pattern".
plugins/check_log: add whitelist support