[ovs-dev] [test log scan v2 3/6] bond: Reduce log level from WARN to INFO for interface status updates.

Ethan Jackson ethan at nicira.com
Tue Feb 5 21:00:33 UTC 2013


Acked-by: Ethan Jackson <ethan at nicira.com>

On Fri, Feb 1, 2013 at 10:48 AM, Ben Pfaff <blp at nicira.com> wrote:
> An interface coming up or going down isn't a big deal.
>
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
>  lib/bond.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/lib/bond.c b/lib/bond.c
> index 06680ee..2e151eb 100644
> --- a/lib/bond.c
> +++ b/lib/bond.c
> @@ -1302,12 +1302,12 @@ bond_enable_slave(struct bond_slave *slave, bool enable, struct tag_set *tags)
>      if (enable != slave->enabled) {
>          slave->enabled = enable;
>          if (!slave->enabled) {
> -            VLOG_WARN("interface %s: disabled", slave->name);
> +            VLOG_INFO("interface %s: disabled", slave->name);
>              if (tags) {
>                  tag_set_add(tags, slave->tag);
>              }
>          } else {
> -            VLOG_WARN("interface %s: enabled", slave->name);
> +            VLOG_INFO("interface %s: enabled", slave->name);
>              slave->tag = tag_create_random();
>          }
>
> @@ -1512,7 +1512,7 @@ bond_choose_active_slave(struct bond *bond, struct tag_set *tags)
>
>          bond->send_learning_packets = true;
>      } else if (old_active_slave) {
> -        VLOG_WARN_RL(&rl, "bond %s: all interfaces disabled", bond->name);
> +        VLOG_INFO_RL(&rl, "bond %s: all interfaces disabled", bond->name);
>      }
>  }
>
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list