Fix crash bug in logging and redirect consignments to vendor log