Alter error logging