From: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: Yuji Shimada <shimada-yxb@necst.nec.co.jp>,
xen-devel@lists.xensource.com, berrange@redhat.com
Subject: Re: [PATCH] xend: open qemu-dm log files in append mode
Date: Fri, 27 Jun 2008 18:31:08 +0900 [thread overview]
Message-ID: <4864B35C.6050403@ab.jp.nec.com> (raw)
In-Reply-To: <18531.45028.236043.309416@mariner.uk.xensource.com>
[-- Attachment #1: Type: text/plain, Size: 804 bytes --]
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.
>
> Ian.
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?
Thanks,
Yosuke
[-- Attachment #2: qemu-log-rotate.patch --]
[-- Type: all/allfiles, Size: 1171 bytes --]
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2008-06-27 9:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-26 5:06 [PATCH] xend: open qemu-dm log files in append mode Yosuke Iwamatsu
2008-06-26 14:47 ` Ian Jackson
2008-06-26 14:51 ` Daniel P. Berrange
2008-06-26 15:04 ` Ian Jackson
2008-06-27 9:31 ` Yosuke Iwamatsu [this message]
2008-06-27 13:39 ` Ian Jackson
2008-06-30 9:20 ` Yosuke Iwamatsu
2008-06-30 13:50 ` Ian Jackson
2008-07-01 4:57 ` Yosuke Iwamatsu
2008-07-01 9:45 ` Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4864B35C.6050403@ab.jp.nec.com \
--to=y-iwamatsu@ab.jp.nec.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=berrange@redhat.com \
--cc=shimada-yxb@necst.nec.co.jp \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.