[ovs-dev] [PATCH 1/2] tunnel: Log tunneling changes at INFO level.

Ethan Jackson ethan at nicira.com
Fri Feb 8 03:04:21 UTC 2013


These log messages occur infrequently, and are quite useful when
debugging problems after the fact.  So they should be logged at
info level which makes them more readily available.

Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
 ofproto/tunnel.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ofproto/tunnel.c b/ofproto/tunnel.c
index ddfeeda..d50cff8 100644
--- a/ofproto/tunnel.c
+++ b/ofproto/tunnel.c
@@ -407,8 +407,8 @@ tnl_port_mod_log(const struct tnl_port *tnl_port, const char *action)
         struct ds ds = DS_EMPTY_INITIALIZER;
 
         tnl_match_fmt(&tnl_port->match, &ds);
-        VLOG_DBG("%s tunnel port %s (%s)", action, tnl_port_get_name(tnl_port),
-                 ds_cstr(&ds));
+        VLOG_INFO("%s tunnel port %s (%s)", action,
+                  tnl_port_get_name(tnl_port), ds_cstr(&ds));
         ds_destroy(&ds);
     }
 }
-- 
1.7.9.5




More information about the dev mailing list