From a9bcd60e31b1c4029367158cb89510672262cb0d Mon Sep 17 00:00:00 2001
From: "Daniel P. Berrange" <berrange@redhat.com>
Date: Mon, 24 Feb 2014 16:37:20 +0000
Subject: [PATCH] Auto-generate the table of contents in logging doc

The logging doc had a hand-written table of contents
instead of using the automatic XSL generated one.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
---
 docs/logging.html.in | 21 ++++-----------------
 1 file changed, 4 insertions(+), 17 deletions(-)

diff --git a/docs/logging.html.in b/docs/logging.html.in
index ac415f8674..08bbd706e4 100644
--- a/docs/logging.html.in
+++ b/docs/logging.html.in
@@ -3,27 +3,14 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <body>
     <h1 >Logging in the library and the daemon</h1>
+
     <p>Libvirt includes logging facilities starting from version 0.6.0,
        this complements the <a href="errors.html">error handling</a>
        mechanism and APIs to allow tracing through the execution of the
        library as well as in the libvirtd daemon.</p>
-    <ul>
-      <li>
-        <a href="#log_library">Logging in the library</a>
-      </li>
-      <li>
-        <a href="#log_config">Configuring logging in the library</a>
-      </li>
-      <li>
-        <a href="#log_daemon">Logging in the daemon</a>
-      </li>
-      <li>
-        <a href="#log_syntax">Syntax for filters and output values</a>
-      </li>
-      <li>
-        <a href="#log_examples">Examples</a>
-      </li>
-    </ul>
+
+    <ul id="toc"/>
+
     <h2>
       <a name="log_library">Logging in the library</a>
     </h2>