[libvirt] util: log: How about online change logLevel?

Jiri Denemark jdenemar at redhat.com
Fri Apr 17 07:30:02 UTC 2015


On Fri, Apr 17, 2015 at 15:12:21 +0800, zhang bo wrote:
> Sometimes, when we encounter with a problem, we need to set libvirtd log level to DEBUG to dig detailed information.
> 
> But changing log level requires us to *restart* libvirtd.
>     1) #vim /etc/libvirt/libvirtd.conf
>         log_level = 1
>     2) *service libvirtd restart*
> 
> We think that it makes sense to develop an API to *online* change log level, without restarting libvirtd.
> 
> What's your opinion? If it's necessary, I'd like to post a patch here.

This is one of the goals behind admin API to libvirt which Martin is
working on (see
https://www.redhat.com/archives/libvir-list/2015-April/msg00754.html)

Jirka




More information about the libvir-list mailing list