removed assert from logger