added vocab logger