Re: [libvirt] [PATCH v2 01/13] util: add APIs for reading/writing from/to rotating files

2015-11-18 Thread Peter Krempa
On Thu, Nov 12, 2015 at 17:18:58 +, Daniel Berrange wrote: > Add virRotatingFileReader and virRotatingFileWriter objects > which allow reading & writing from/to files with automation > rotation to N backup files when a size limit is reached. This > is useful for guest logging when a guaranteed

Re: [libvirt] [PATCH v2 01/13] util: add APIs for reading/writing from/to rotating files

2015-11-18 Thread John Ferlan
On 11/12/2015 12:18 PM, Daniel P. Berrange wrote: > Add virRotatingFileReader and virRotatingFileWriter objects > which allow reading & writing from/to files with automation > rotation to N backup files when a size limit is reached. This > is useful for guest logging when a guaranteed finite

Re: [libvirt] [PATCH v2 01/13] util: add APIs for reading/writing from/to rotating files

2015-11-18 Thread Daniel P. Berrange
On Wed, Nov 18, 2015 at 08:46:43AM -0500, John Ferlan wrote: > > > On 11/12/2015 12:18 PM, Daniel P. Berrange wrote: > > Add virRotatingFileReader and virRotatingFileWriter objects > > which allow reading & writing from/to files with automation > > rotation to N backup files when a size limit is

[libvirt] [PATCH v2 01/13] util: add APIs for reading/writing from/to rotating files

2015-11-12 Thread Daniel P. Berrange
Add virRotatingFileReader and virRotatingFileWriter objects which allow reading & writing from/to files with automation rotation to N backup files when a size limit is reached. This is useful for guest logging when a guaranteed finite size limit is required. Use of external tools like logrotate is