diff options
author | Ethan Jackson <ethan@nicira.com> | 2012-07-13 13:10:01 -0700 |
---|---|---|
committer | Ethan Jackson <ethan@nicira.com> | 2012-07-16 22:28:07 -0700 |
commit | a890678229e7e72703ef3b27d8a98ccd9d7c4446 (patch) | |
tree | e3b9c1c3575370ba6e3d64af3f5550ed7c38088c /vswitchd/ovs-vswitchd.c | |
parent | 2c0d2b3bfab41a25becdda41b1cf6003a9ebfd00 (diff) | |
download | openvswitch-a890678229e7e72703ef3b27d8a98ccd9d7c4446.tar.gz |
userspace: Log version on startup.
It's convenient to have the OVS version directly in the logs so one
doesn't have to go digging through ovs-bugtool output to find it.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'vswitchd/ovs-vswitchd.c')
-rw-r--r-- | vswitchd/ovs-vswitchd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vswitchd/ovs-vswitchd.c b/vswitchd/ovs-vswitchd.c index 6062a40a6..3b6517884 100644 --- a/vswitchd/ovs-vswitchd.c +++ b/vswitchd/ovs-vswitchd.c @@ -85,6 +85,8 @@ main(int argc, char *argv[]) daemonize_start(); + VLOG_INFO("%s (Open vSwitch) %s", program_name, VERSION); + if (want_mlockall) { #ifdef HAVE_MLOCKALL if (mlockall(MCL_CURRENT | MCL_FUTURE)) { |