[libvirt] [PATCH 5/6] Provide an internal function to dump the log buffer

Daniel P. Berrange berrange at redhat.com
Thu Mar 3 11:45:34 UTC 2011


On Thu, Mar 03, 2011 at 06:22:16PM +0800, Daniel Veillard wrote:
> 
> An old virLogDump() function was left in the logging code but commented
> out, this resurrects it, fixes the callback function used and the
> internal code
> * src/util/logging.c src/util/logging.h: provide and expose virLogDump()
> * src/libvirt_private.syms: exports it as a private symbol
> 
> Signed-off-by: Daniel Veillard <veillard at redhat.com>
> ---
>  src/libvirt_private.syms |    1 +
>  src/util/logging.c       |   64 ++++++++++++++++++++++++---------------------
>  src/util/logging.h       |   12 ++++++++
>  3 files changed, 47 insertions(+), 30 deletions(-)

Not sure this function is needed, if my suggestion in the nex
patch is used instead.

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 :|




More information about the libvir-list mailing list