diff mbox

[ovs-dev,v2] upcall: reduce log level for "no reference to recirc flow" message

Message ID 1472504773-24447-1-git-send-email-lrichard@redhat.com
State Accepted
Headers show

Commit Message

Lance Richardson Aug. 29, 2016, 9:06 p.m. UTC
Reduce log level from "warn" to "debug" for "upcall: no reference to
recirc flow" log message.

Suggested-by: Jarno Rajahalme <jarno@ovn.org>
Signed-off-by: Lance Richardson <lrichard@redhat.com>
---
v2: Instead of ignoring log message in system-traffic.at, reduce level
    so it no longer appears in the log. 

 ofproto/ofproto-dpif-upcall.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jarno Rajahalme Aug. 30, 2016, 5:42 p.m. UTC | #1
Acked-by: Jarno Rajahalme <jarno@ovn.org>

Pushed to master and branch-2.6.

  Jarno

> On Aug 29, 2016, at 2:06 PM, Lance Richardson <lrichard@redhat.com> wrote:
> 
> Reduce log level from "warn" to "debug" for "upcall: no reference to
> recirc flow" log message.
> 
> Suggested-by: Jarno Rajahalme <jarno@ovn.org>
> Signed-off-by: Lance Richardson <lrichard@redhat.com>
> ---
> v2: Instead of ignoring log message in system-traffic.at, reduce level
>    so it no longer appears in the log. 
> 
> ofproto/ofproto-dpif-upcall.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
> index 042a50a..e447308 100644
> --- a/ofproto/ofproto-dpif-upcall.c
> +++ b/ofproto/ofproto-dpif-upcall.c
> @@ -1147,7 +1147,7 @@ should_install_flow(struct udpif *udpif, struct upcall *upcall)
>     if (upcall->type != DPIF_UC_MISS) {
>         return false;
>     } else if (upcall->recirc && !upcall->have_recirc_ref) {
> -        VLOG_WARN_RL(&rl, "upcall: no reference for recirc flow");
> +        VLOG_DBG_RL(&rl, "upcall: no reference for recirc flow");
>         return false;
>     }
> 
> -- 
> 2.5.5
> 
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
diff mbox

Patch

diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c
index 042a50a..e447308 100644
--- a/ofproto/ofproto-dpif-upcall.c
+++ b/ofproto/ofproto-dpif-upcall.c
@@ -1147,7 +1147,7 @@  should_install_flow(struct udpif *udpif, struct upcall *upcall)
     if (upcall->type != DPIF_UC_MISS) {
         return false;
     } else if (upcall->recirc && !upcall->have_recirc_ref) {
-        VLOG_WARN_RL(&rl, "upcall: no reference for recirc flow");
+        VLOG_DBG_RL(&rl, "upcall: no reference for recirc flow");
         return false;
     }