script = libxl__xs_read(gc, XBT_NULL,
GCSPRINTF("%s/%s", be_path, "script"));
if (!script) {
- LOGEV(ERROR, errno, "unable to read script from %s", be_path);
+ LOGEVD(ERROR, errno, dev->domid,
+ "unable to read script from %s", be_path);
rc = ERROR_FAIL;
goto out;
}
switch (dev->backend_kind) {
case LIBXL__DEVICE_KIND_VBD:
if (num_exec != 0) {
- LOG(DEBUG, "num_exec %d, not running hotplug scripts", num_exec);
+ LOGD(DEBUG, dev->domid,
+ "num_exec %d, not running hotplug scripts", num_exec);
rc = 0;
goto out;
}
*/
if ((num_exec != 0) ||
(libxl_get_stubdom_id(CTX, dev->domid) && num_exec)) {
- LOG(DEBUG, "num_exec %d, not running hotplug scripts", num_exec);
+ LOGD(DEBUG, dev->domid,
+ "num_exec %d, not running hotplug scripts", num_exec);
rc = 0;
goto out;
}