Stop writing duplicate error logs