On Tue, Apr 03, 2018 at 10:45:45AM +0200, Erik Skultety wrote:
First, 2 tiny fixes along the way, then the actual change, which lets
you do
the following for example during runtime:
virt-admin daemon-log-filters "1:* 4:remote 4:json"
which previously, given the default config setting log_level=3, translated into
virt-admin daemon-log-filters \
"1:access 1:admin 1:conf 1:cpu 1:qemu 1:interface
1:<etc-it's-long>"
...of course, "3:*" is equivalent to "log_level=3".
Erik Skultety (4):
virlog: Fix a typo in virLogParseFilter's error msg
libvirtd.conf: Document that we do a 'first' match on log filters
util: virlog: Introduce wildcard to log filters
news: Update the news file with the log filter wildcard improvement
docs/news.xml | 12 ++++++++++++
src/remote/libvirtd.conf | 6 +++++-
src/util/virlog.c | 46 ++++++++++++++++++++++++++++++++++++++++++++--
src/util/virlog.h | 1 +
4 files changed, 62 insertions(+), 3 deletions(-)
I fixed patch 4 as suggested and pushed.
Thanks,
Erik