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

Re: [Libvir] [PATCH] output virsh log to file

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.


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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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