[libvirt] [PATCH 3/4] Add comments describing the different log sources

Daniel P. Berrange berrange at redhat.com
Fri Feb 21 17:31:46 UTC 2014


Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 src/util/virlog.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/util/virlog.h b/src/util/virlog.h
index f400824..6ba2daa 100644
--- a/src/util/virlog.h
+++ b/src/util/virlog.h
@@ -45,11 +45,11 @@ typedef enum {
 } virLogDestination;
 
 typedef enum {
-    VIR_LOG_FROM_FILE,
-    VIR_LOG_FROM_ERROR,
-    VIR_LOG_FROM_AUDIT,
-    VIR_LOG_FROM_TRACE,
-    VIR_LOG_FROM_LIBRARY,
+    VIR_LOG_FROM_FILE,    /* General debugging */
+    VIR_LOG_FROM_ERROR,   /* Errors reported */
+    VIR_LOG_FROM_AUDIT,   /* Audit operations */
+    VIR_LOG_FROM_TRACE,   /* DTrace probe pointers */
+    VIR_LOG_FROM_LIBRARY, /* 3rd party libraries */
 
     VIR_LOG_FROM_LAST,
 } virLogSource;
-- 
1.8.5.3




More information about the libvir-list mailing list