Remove unnecessary error logger