Re: [libvirt] Open monitor logs O_APPEND

2008-12-09 Thread Guido Günther
On Fri, Dec 05, 2008 at 02:20:08PM +0100, Daniel Veillard wrote: > On Thu, Dec 04, 2008 at 05:44:30PM +0100, Guido Günther wrote: > > On Thu, Dec 04, 2008 at 01:26:40PM +, Daniel P. Berrange wrote: > > > On Thu, Dec 04, 2008 at 02:11:07PM +0100, Guido G?nther wrote: > > > > Hi, > > > > attached

Re: [libvirt] Open monitor logs O_APPEND

2008-12-05 Thread Daniel Veillard
On Thu, Dec 04, 2008 at 05:44:30PM +0100, Guido Günther wrote: > On Thu, Dec 04, 2008 at 01:26:40PM +, Daniel P. Berrange wrote: > > On Thu, Dec 04, 2008 at 02:11:07PM +0100, Guido G?nther wrote: > > > Hi, > > > attached patch is from Debian Bug #507553: > > > > > > The logfile is opened with

Re: [libvirt] Open monitor logs O_APPEND

2008-12-04 Thread Guido Günther
On Thu, Dec 04, 2008 at 01:26:40PM +, Daniel P. Berrange wrote: > On Thu, Dec 04, 2008 at 02:11:07PM +0100, Guido G?nther wrote: > > Hi, > > attached patch is from Debian Bug #507553: > > > > The logfile is opened with O_APPEND (to make logrotate work with > > copytruncate) and without O_TRUNC

Re: [libvirt] Open monitor logs O_APPEND

2008-12-04 Thread Daniel P. Berrange
On Thu, Dec 04, 2008 at 02:11:07PM +0100, Guido G?nther wrote: > Hi, > attached patch is from Debian Bug #507553: > > The logfile is opened with O_APPEND (to make logrotate work with > copytruncate) and without O_TRUNC (to not lose log information e.g. with > stop and start of a VM). > > Using co

[libvirt] Open monitor logs O_APPEND

2008-12-04 Thread Guido Günther
Hi, attached patch is from Debian Bug #507553: The logfile is opened with O_APPEND (to make logrotate work with copytruncate) and without O_TRUNC (to not lose log information e.g. with stop and start of a VM). Using collectd or munin to monitor VMs creates quiet a bit of qemu monitor output so th