Configure error logging in production