diff options
author | Ben Pfaff <blp@nicira.com> | 2010-06-11 14:45:24 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-06-22 11:49:56 -0700 |
commit | 36a7b32d790f2cee735520060a9b6221b7ae25ef (patch) | |
tree | d24dcaf7794b75a285c20c2dc742d6f36e708267 /lib/reconnect.h | |
parent | d1b801a597ddcaaa2bf03611ec88037a45f40355 (diff) | |
download | openvswitch-36a7b32d790f2cee735520060a9b6221b7ae25ef.tar.gz |
Suppress ovsdb-server log messages about connections from ovs-vsctl.
In the ovsdb-server log there are fairly continuous messages like these:
Apr 26 11:27:55|15254|reconnect|INFO|unix:/tmp/stream-unix.31734.0: connected
Apr 26 11:27:55|15255|reconnect|INFO|unix:/tmp/stream-unix.31734.0: connection dropped
Apr 26 11:28:00|15256|reconnect|INFO|unix:/tmp/stream-unix.31810.0: connecting...
Apr 26 11:28:00|15257|reconnect|INFO|unix:/tmp/stream-unix.31810.0: connected
Apr 26 11:28:00|15258|reconnect|INFO|unix:/tmp/stream-unix.31810.0: connection dropped
These just indicate that ovs-vsctl is connecting to ovsdb-server from,
for example, the "vif" script. But there's no need to log all that detail;
it's simply not useful. This commit suppresses it.
Bug #2715.
Diffstat (limited to 'lib/reconnect.h')
-rw-r--r-- | lib/reconnect.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/reconnect.h b/lib/reconnect.h index d0790ec6f..418f3e875 100644 --- a/lib/reconnect.h +++ b/lib/reconnect.h @@ -35,6 +35,8 @@ struct reconnect *reconnect_create(long long int now); void reconnect_destroy(struct reconnect *); +void reconnect_set_quiet(struct reconnect *, bool quiet); + const char *reconnect_get_name(const struct reconnect *); void reconnect_set_name(struct reconnect *, const char *name); |