[libvirt] [PATCH 0/4] Introduce wildcard to log filters

Erik Skultety eskultet at redhat.com
Tue Apr 3 08:45:45 UTC 2018


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(-)

--
2.14.3




More information about the libvir-list mailing list