Andrea Campanella

Adding device information to log of default driver providers

Change-Id: Ie25f6aee76e9ef72052570177dcf2f4a6da8edf4
......@@ -159,7 +159,7 @@ class FlowRuleDriverProvider extends AbstractProvider implements FlowRuleProvide
if (device.is(FlowRuleProgrammable.class)) {
return device.as(FlowRuleProgrammable.class);
} else {
log.warn("Device {} is not flow rule programmable");
log.warn("Device {} is not flow rule programmable", deviceId);
return null;
}
}
......
......@@ -65,7 +65,7 @@ public class GroupDriverProvider extends AbstractProvider implements GroupProvid
if (device.is(GroupProgrammable.class)) {
return device.as(GroupProgrammable.class);
} else {
log.warn("Device {} is not group programmable");
log.warn("Device {} is not group programmable", deviceId);
return null;
}
}
......
......@@ -65,7 +65,7 @@ public class PacketDriverProvider extends AbstractProvider implements PacketProv
if (device.is(PacketProgrammable.class)) {
return device.as(PacketProgrammable.class);
} else {
log.warn("Device {} is not packet programmable");
log.warn("Device {} is not packet programmable", deviceId);
return null;
}
}
......