Re: [PATCH 1/5] log: handler: Add new API to append to logging files

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

 



On Tue, Jun 07, 2016 at 05:04:26PM +0200, Peter Krempa wrote:
> For logging one-shot entries to the VM log file it's quite a waste to
> hold open the file descriptor for logging that is provided by the
> current API.
> 
> This new API will be ideal for logging one-shot entries to the file
> e.g. at the point when we shut the VM down rather than having to add the
> whole file-descriptor infrastructure.
> 
> Additionally this will allow to add the messages even after restart of
> libvirtd since virtlogd doesn't allow to obtain a regular context with
> filedescriptors while the VM is still active.
> ---
>  src/logging/log_handler.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++
>  src/logging/log_handler.h |  8 ++++++++
>  2 files changed, 58 insertions(+)

ACK


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]