create/edit wsgihandlers to log only 4XX and 5XX errors requests