]> xenbits.xensource.com Git - libvirt.git/commitdiff
logging.html.in: Kill useless spaces in <pre/>
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 11 Nov 2016 22:40:27 +0000 (23:40 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 14 Nov 2016 10:03:34 +0000 (11:03 +0100)
The <pre/> section is rendered as-is on the page. That is, if all
the lines are prefixed with 4 spaces the rendered page will also
have them. Problem is if we put a box around such <pre/> because
the content might not fix into it.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
docs/logging.html.in

index b6dc91cd581603a045cd27c9622bf2fa65d8100c..bcec1794050729efc17ecdf93fc68a919394e51f 100644 (file)
        variables.</p>
     <p>The format for a filter is one of:</p>
     <pre>
-  x:name  (log message only)
-  x:+name (log message + stack trace)</pre>
+x:name  (log message only)
+x:+name (log message + stack trace)</pre>
     <p>where <code>name</code> is a string which is matched against
     the category given in the VIR_LOG_INIT() at the top of each
     libvirt source file, e.g., <code>remote</code>, <code>qemu</code>,
     </p>
 
     <pre>
- $ journalctl MESSAGE_ID=8ae2f3fb-2dbe-498e-8fbd-012d40afa361 --output=json
- { ...snip...
-   "LIBVIRT_SOURCE" : "file",
-   "PRIORITY" : "3",
-   "CODE_FILE" : "qemu/qemu_capabilities.c",
-   "CODE_LINE" : "2770",
-   "CODE_FUNC" : "virQEMUCapsLogProbeFailure",
-   "MESSAGE_ID" : "8ae2f3fb-2dbe-498e-8fbd-012d40afa361",
-   "LIBVIRT_QEMU_BINARY" : "/bin/qemu-system-xtensa",
-   "MESSAGE" : "Failed to probe capabilities for /bin/qemu-system-xtensa:" \
-               "internal error: Child process (LC_ALL=C LD_LIBRARY_PATH=/home/berrange" \
-               "/src/virt/libvirt/src/.libs PATH=/usr/lib64/ccache:/usr/local/sbin:" \
-               "/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin HOME=/root " \
-               "USER=root LOGNAME=root /bin/qemu-system-xtensa -help) unexpected " \
-               "exit status 127: /bin/qemu-system-xtensa: error while loading shared " \
-               "libraries: libglapi.so.0: cannot open shared object file: No such " \
-               "file or directory\n" }
+$ journalctl MESSAGE_ID=8ae2f3fb-2dbe-498e-8fbd-012d40afa361 --output=json
+{ ...snip...
+  "LIBVIRT_SOURCE" : "file",
+  "PRIORITY" : "3",
+  "CODE_FILE" : "qemu/qemu_capabilities.c",
+  "CODE_LINE" : "2770",
+  "CODE_FUNC" : "virQEMUCapsLogProbeFailure",
+  "MESSAGE_ID" : "8ae2f3fb-2dbe-498e-8fbd-012d40afa361",
+  "LIBVIRT_QEMU_BINARY" : "/bin/qemu-system-xtensa",
+  "MESSAGE" : "Failed to probe capabilities for /bin/qemu-system-xtensa:" \
+              "internal error: Child process (LC_ALL=C LD_LIBRARY_PATH=/home/berrange" \
+              "/src/virt/libvirt/src/.libs PATH=/usr/lib64/ccache:/usr/local/sbin:" \
+              "/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin HOME=/root " \
+              "USER=root LOGNAME=root /bin/qemu-system-xtensa -help) unexpected " \
+              "exit status 127: /bin/qemu-system-xtensa: error while loading shared " \
+              "libraries: libglapi.so.0: cannot open shared object file: No such " \
+              "file or directory\n" }
     </pre>
 
     <h2>