add option for enabling logging in notfound plugin