Is it possible to disable required middleware strapi::errors?

So not disabling the errors but just the strapi.log in the strapi:errors middleware or a way to overwrite the required middleware so I can use the same code except for the line that adds the strapi.log.error