]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Change default log policy to libvirtd.log instead of syslog
authorDaniel Veillard <veillard@redhat.com>
Thu, 3 Mar 2011 06:48:06 +0000 (14:48 +0800)
committerDaniel Veillard <veillard@redhat.com>
Fri, 4 Mar 2011 14:43:55 +0000 (22:43 +0800)
commit8ddf6d1e4e85dd64ca5208170d7b9941eaa2f424
tree59606af2f5ad4b4c55b658742143e4b148134449
parent8b9a1190c19ebc3c3f85c704b4c6ff1cb3dc9d6c
Change default log policy to libvirtd.log instead of syslog

Syslog is not the best place to go search for libvirt error
logs, change it to a default file output libvirtd.log, but
still keep standard error if not run as a daemon.
Depending on whether it's run as root or user, the log is saved
in the local state dir or in $HOME/.libvirt.
* daemon/libvirtd.c: change default logging to go to libvirtd.log
daemon/libvirtd.c