tunnel: Log tunneling changes at INFO level.
authorEthan Jackson <ethan@nicira.com>
Thu, 7 Feb 2013 00:45:38 +0000 (16:45 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 8 Feb 2013 21:31:27 +0000 (13:31 -0800)
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@nicira.com>
ofproto/tunnel.c

index ddfeeda..d50cff8 100644 (file)
@@ -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);
     }
 }