[libvirt] [PATHC] 8/8 extra settings in libvirtd.conf

Daniel Veillard veillard at redhat.com
Wed Dec 17 15:30:13 UTC 2008


  Basically documents the 3 new configuration variables,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
-------------- next part --------------
Index: qemud/libvirtd.conf
===================================================================
RCS file: /data/cvs/libxen/qemud/libvirtd.conf,v
retrieving revision 1.8
diff -u -r1.8 libvirtd.conf
--- qemud/libvirtd.conf	4 Dec 2008 22:18:44 -0000	1.8
+++ qemud/libvirtd.conf	17 Dec 2008 14:25:56 -0000
@@ -247,3 +247,52 @@
 #min_workers = 5
 #max_workers = 20
 
+#################################################################
+#
+# Logging controls
+#
+
+# Logging level: 0 none, 4 errors, 3 warnings, 2 informations, 1 debug
+# basically 1 will log everything possible
+#log_level = 3
+
+# Logging filters:
+# A filter allows to select a different logging level for a given category
+# of logs
+# The format for a filter is:
+#    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
+#    1: DEBUG
+#    2: INFO
+#    3: WARNING
+#    4: ERROR
+#
+# Multiple filter can be defined in a single @filters, they just need to be
+# separated by spaces.
+#
+# e.g:
+# log_filters="3:remote 4:event"
+# to only get warning or errors from the remote layer and only errors from
+# the event layer.
+
+# Logging outputs:
+# An output is one of the places to save logging informations
+# The format for an output can be:
+#    x:stderr
+#      output goes to stderr
+#    x:syslog:name
+#      use syslog for the output and use the given name as the ident
+#    x:file:file_path
+#      output to a file, with the given filepath
+# In all case the x prefix is the minimal level, acting as a filter
+#    0: everything
+#    1: DEBUG
+#    2: INFO
+#    3: WARNING
+#    4: ERROR
+#
+# Multiple output can be defined , they just need to be separated by spaces.
+# e.g.:
+# log_outputs="3:syslog:libvirtd"
+# to log all warnings and errors to syslog under the libvirtd ident


More information about the libvir-list mailing list