Re: [PATCH] daemon: Fix option -v missing info priority log

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/25/2014 02:18 PM, Wang Rui wrote:
> From: Zhou Yimin <zhouyimin@xxxxxxxxxx>
> 
> Introduce by 63fbcc692.
> 
> When start libvirtd with commandline "/usr/sbin/libvirtd -d -l -v",
> we expect verbose(info level) log if neither environment variable
> nor config file about logging controls is set. But in fact we can't
> get any info priority log in the default output file.
> 
> The log priority of default output is VIR_LOG_DEFAULT(VIR_LOG_WARN),
> so the info log is filtered out.
> To record info priority log we must parse option -v before setting the
> default output.
> 
> After this patch, we get all verbose log in the default output file.
> 
> Signed-off-by: Zhou Yimin <zhouyimin@xxxxxxxxxx>
> ---
>  daemon/libvirtd.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

ACK and pushed.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]