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

Re: [Xen-devel] [PATCH] xend: open qemu-dm log files in append mode

Ian Jackson wrote:
Daniel P. Berrange writes ("Re: [Xen-devel] [PATCH] xend: open qemu-dm log files in 
append mode"):
XenD already does rotate the qemu logs unless the code I added todo that has since been removed, so if the domain reboots we should keep
at least one historic log

It only keeps one.  I think Yuji Shimada would like more than one but
that would be a straightforward change to make to the code.


So the attached patch improves the qemu-log rotation in xend to keep
maximum of 20 backup logfiles per domain. I still prefer the previous
patch that will avoid information loss when, for example, a guest
repeats cursh and reboot. But this patch might be at least a little bit
better than the current one-historic-backup solution. Any comment?


Attachment: qemu-log-rotate.patch
Description: all/allfiles

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.