added logging to consumer client