[libvirt] [PATCH] Change logrotate to be per-hypervisor logs

Daniel Veillard veillard at redhat.com
Thu Mar 11 08:55:00 UTC 2010


On Thu, Mar 11, 2010 at 02:33:48PM +0800, Osier Yang wrote:
> hi
>    will it be better provide some configuration in libvirtd.conf or
> ENV viriable to control the log level of each hypervisor log
> seperately?
> 
>     such as I want to libvirt will just log errors for lxc, but any
> messages for qemu, warning, and error message for uml.

  Those logs are usually emitted by the child process so not
controllable by libvirt. You can control logs emitted by libvirt
from the configuration file (what, what level, and where to output
them), see

    http://libvirt.org/logging.html

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/




More information about the libvir-list mailing list