[PATCH v2 00/10] admin: Introduce runtime logging APIs

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

 



v1 here https://www.redhat.com/archives/libvir-list/2016-November/msg00009.html

since v1:
- incorporated notes raised during review
- allowed passing of NULL via the public APIs
    * behaves the same way as an empty string, but lead to even more code
      reduction in 'daemonSetupLogging' for practically no extra code to enable
      such feature
- added forgotten documentation
- updated NEWS file

Erik Skultety (10):
  virlog: Introduce virLog{Get,Set}DefaultOutput
  admin: Allow passing NULL to virLogSetFilters
  daemon: Hook up the virLog{Get,Set}DefaultOutput to the daemon's init
    routine
  admin: Introduce virAdmConnectGetLoggingOutputs
  admin: Introduce virAdmConnectGetLoggingFilters
  admin: Introduce virAdmConnectSetLoggingOutputs
  admin: Introduce virAdmConnectSetLoggingFilters
  virt-admin: Wire-up the logging APIs
  admin: Add an example demonstrating how to use the logging APIs
  admin: Update the news file to include the new logging features

 .gitignore                      |   1 +
 daemon/admin.c                  | 104 ++++++++++++++++++++++++++
 daemon/libvirtd.c               |  96 ++++--------------------
 docs/news.html.in               |   4 +
 examples/Makefile.am            |   3 +-
 examples/admin/logging.c        | 102 ++++++++++++++++++++++++++
 include/libvirt/libvirt-admin.h |  16 ++++
 src/admin/admin_protocol.x      |  50 ++++++++++++-
 src/admin/admin_remote.c        |  70 ++++++++++++++++++
 src/admin_protocol-structs      |  26 +++++++
 src/libvirt-admin.c             | 157 ++++++++++++++++++++++++++++++++++++++++
 src/libvirt_admin_private.syms  |   6 ++
 src/libvirt_admin_public.syms   |   8 ++
 src/libvirt_private.syms        |   2 +
 src/locking/lock_daemon.c       |  90 ++++-------------------
 src/logging/log_daemon.c        |  92 ++++-------------------
 src/util/virlog.c               | 100 ++++++++++++++++++++++++-
 src/util/virlog.h               |   4 +-
 tools/virt-admin.c              | 120 ++++++++++++++++++++++++++++++
 tools/virt-admin.pod            |  90 +++++++++++++++++++++++
 20 files changed, 899 insertions(+), 242 deletions(-)
 create mode 100644 examples/admin/logging.c

-- 
2.5.5

--
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]
  Powered by Linux