From: Daniel P. Berrange Date: Mon, 24 Feb 2014 16:22:51 +0000 (+0000) Subject: Add docs about use of systemd journal for logging X-Git-Tag: v1.2.2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6cae5709831418d7e3a93792117d3b892563752;p=thirdparty%2Flibvirt.git Add docs about use of systemd journal for logging Document the various fields that libvirt will emit for journal log records. Signed-off-by: Daniel P. Berrange --- diff --git a/docs/logging.html.in b/docs/logging.html.in index 08bbd706e4..bc56420720 100644 --- a/docs/logging.html.in +++ b/docs/logging.html.in @@ -85,9 +85,13 @@

When starting the libvirt daemon, any logging environment variable settings will override settings in the config file. Command line options take precedence over all. If no outputs are defined for libvirtd, it - defaults to logging to /var/log/libvirt/libvirtd.log (before 0.9.0 - it was using syslog) when it is running as a daemon, or to - stderr when it is running in the foreground.

+ will try to use

+

Libvirtd does not reload its logging configuration when issued a SIGHUP. If you want to reload the configuration, you must do a service libvirtd restart or manually stop and restart the daemon @@ -133,6 +137,7 @@ given name as the ident

  • x:file:file_path output to a file, with the given filepath
  • +
  • x:journald output goes to systemd journal
  • In all cases the x prefix is the minimal level, acting as a filter: