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

Daniel Veillard veillard at redhat.com
Thu Mar 3 10:22:16 UTC 2011


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(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Provide-an-internal-function-to-dump-the-log-buffer.patch
Type: text/x-patch
Size: 3691 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110303/8244bf47/attachment-0001.bin>


More information about the libvir-list mailing list