error logger problem