removed error_logger from object and using LOGGER