[ovs-dev] [PATCH] bridge: Log version number precisely once.
Ethan Jackson
ethan at nicira.com
Wed Jan 2 21:29:44 UTC 2013
Before this patch, ovs-vswitchd logged its version number every
time the database changed.
Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
vswitchd/bridge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index e58c3c4..beb8b93 100644
--- a/vswitchd/bridge.c
+++ b/vswitchd/bridge.c
@@ -608,7 +608,7 @@ bridge_reconfigure_continue(const struct ovsrec_open_vswitch *ovs_cfg)
daemonize_complete();
reconfiguring = false;
- VLOG_INFO("%s (Open vSwitch) %s", program_name, VERSION);
+ VLOG_INFO_ONCE("%s (Open vSwitch) %s", program_name, VERSION);
}
return done;
--
1.7.9.5
More information about the dev
mailing list