[Libvir] [PATCH] output virsh log to file
Richard W.M. Jones
rjones at redhat.com
Tue May 22 14:15:03 UTC 2007
Nobuhiro Itou wrote:
>> But my broader point is: What use would this feature be, since you can
>> capture the output of virsh easily using shell redirection? The Xen
>> 'xm' command doesn't have this feature and I don't know if anyone has
>> asked for it.
>
> If I use it, the redirection is no problem.
> However, when our customers are made to use virsh, it is necessary to
> explain the redirection.
> Mostly, a lot of customers do not seem to use the redirection usually.
> And, executing the command applying the redirection to customers again
> when the error occurs is troublesome of customers.
>
> Therefore, the purpose is to make it immediately correspond to
> the customer's trouble report.
Technically I think you've fixed all the problems I raised.
I really think we should be looking at either a logging library, or
(better) syslog. These problems -- like logfile maxsize, logfile
location, log rotation -- have all been solved before, and I don't
believe we should reinvent this wheel.
I'm keen to hear what others think though.
Rich.
--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070522/fd946a2e/attachment-0001.bin>
More information about the libvir-list
mailing list