]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: clean up and expand 802.1QbX negotiation logging
authorLaine Stump <laine@laine.org>
Thu, 11 Feb 2016 20:24:17 +0000 (15:24 -0500)
committerLaine Stump <laine@laine.org>
Sun, 14 Feb 2016 16:29:41 +0000 (11:29 -0500)
commit9cb8b0e5a4650e3d22c21b100970686b7da587b8
tree9a5ae1c12fea3e08adcbe30587a319493f5eae2e
parenteb72bd63c15817b1b74f0528f86bfe3c8da2bc2c
util: clean up and expand 802.1QbX negotiation logging

The existing log messages for this have several problems; there are
two lines of log when one will suffice, they duplicate the function
name in log message (when it's already included by VIR_DEBUG), they're
missing some useful bits, they get logged even when the call is a NOP.

This patch cleans up the problems with those existing logs, and also
adds a new VIR_INFO-level log down at the function that is actually
creating and sending the netlink message that logs *everything* going
into the netlink message (which turns out to be much more useful in
practice for me; I didn't want to eliminate the logs at the existing
location though, in case they are useful in some scenario I'm
unfamiliar with; anyway those logs are remaining at debug level, so it
shouldn't be a bother to anyone).
src/util/virnetdevvportprofile.c