[libvirt] [PATCH] remote: Don't print a warning every time a remote call fails

Cole Robinson crobinso at redhat.com
Tue Oct 13 15:11:34 UTC 2009


On 10/13/2009 09:19 AM, Daniel P. Berrange wrote:
> On Mon, Oct 12, 2009 at 10:32:11AM -0400, Cole Robinson wrote:
>> $ sudo virsh pool-start idontexist
>> 10:58:18.716: warning : processCallDispatchReply:7612 : Method call error
>> error: failed to get pool 'idontexist'
>> error: Storage pool not found: no pool with matching name 'idontexist'
>>
>> That warning doesn't server much purpose being printed via a virsh call. Change
>> the warning to a debug message.
> 
> This was random debugging I didn't mean to leave in - we should remove it entirely
> since we already log all errors in libvirt elsewhere
> 
> Daniel

Okay, I pushed a fix that just drops the VIR_WARN line.

Thanks,
Cole




More information about the libvir-list mailing list