[ovs-dev] [PATCH V2] dpif-netlink: Fix log level for error message
Eric Garver
e at erig.me
Mon Jul 31 13:43:21 UTC 2017
On Sun, Jul 30, 2017 at 07:58:17AM +0300, Roi Dayan wrote:
> 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
>
Acked-by: Eric Garver <e at erig.me>
More information about the dev
mailing list