]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add comments describing the different log sources
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 21 Feb 2014 17:23:52 +0000 (17:23 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 28 Feb 2014 17:38:46 +0000 (17:38 +0000)
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/util/virlog.h

index f40082430c259ac5315b069630d6c5406bac2e90..6ba2daa4e731f597afad8ec325688c8ca22c5f83 100644 (file)
@@ -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;