Rewrite red_logs() with regexes