private function prepareLogIds($custId, $adminId)
    {

        if (!$custId && !$adminId) {
            /* both are empty */
            $customer = $this->sessCust->getCustomer();
            if ($customer) {
                $custId = $customer->getId();
            }
            $user = $this->sessAdmin->getUser();
            if ($user instanceof \Magento\User\Model\User) {
                $adminId = $user->getId();
            }
        }
        return [$custId, $adminId];
    }