Fix log path, error regex