add logger to the consumer