Adding error_logger to queue_mem