[ovs-dev] [PATCH V2] dpif-netlink: Fix log level for error message
Roi Dayan
roid at mellanox.com
Sun Jul 30 04:58:17 UTC 2017
Since it's an error but also will always occur in older kernels
log the message with level warning instead of info.
Signed-off-by: Roi Dayan <roid at mellanox.com>
---
lib/dpif-netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c
index 55effd1..118576c 100644
--- a/lib/dpif-netlink.c
+++ b/lib/dpif-netlink.c
@@ -972,7 +972,7 @@ dpif_netlink_rtnl_port_create_and_add(struct dpif_netlink *dpif,
error = dpif_netlink_rtnl_port_create(netdev);
if (error) {
if (error != EOPNOTSUPP) {
- VLOG_INFO_RL(&rl, "Failed to create %s with rtnetlink: %s",
+ VLOG_WARN_RL(&rl, "Failed to create %s with rtnetlink: %s",
netdev_get_name(netdev), ovs_strerror(error));
}
return error;
--
2.7.4
More information about the dev
mailing list