diff --git a/daemon/libvirtd.conf b/daemon/libvirtd.conf index 56e880b1d6..3d296cd32f 100644 --- a/daemon/libvirtd.conf +++ b/daemon/libvirtd.conf @@ -291,10 +291,13 @@ # Logging filters: # A filter allows to select a different logging level for a given category # of logs -# The format for a filter is: +# The format for a filter is one of: # x:name -# where name is a match string e.g. remote or qemu -# the x prefix is the minimal level where matching messages should be logged +# x:+name +# where name is a string which is matched against source file name, +# e.g., "remote", "qemu", or "util/json", the optional "+" prefix +# tells libvirt to log stack trace for each message matching name, +# and x is the minimal level where matching messages should be logged: # 1: DEBUG # 2: INFO # 3: WARNING diff --git a/docs/logging.html.in b/docs/logging.html.in index 87e22920a6..a95f7bc881 100644 --- a/docs/logging.html.in +++ b/docs/logging.html.in @@ -118,9 +118,12 @@
   x:name  (log message only)
   x:+name (log message + stack trace)
-

where name is a match string e.g. remote or - qemu and the x is the minimal level where matching messages - should be logged:

+

where name is a string which is matched against source + file name, e.g., remote, qemu, or + util/json, the optional + prefix tells libvirt + to log stack trace for each message matching name, and + x is the minimal level where matching messages should + be logged: