Log based blocking via regular expression