Fixed logging settings so that we get 404 error mails