From 3260b7d3cc757386cfa4abf85e9a5625be35046f Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Fri, 11 Nov 2016 23:40:27 +0100 Subject: [PATCH] logging.html.in: Kill useless spaces in

The 
 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 
 because
the content might not fix into it.

Signed-off-by: Michal Privoznik 
---
 docs/logging.html.in | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/docs/logging.html.in b/docs/logging.html.in
index b6dc91cd58..bcec179405 100644
--- a/docs/logging.html.in
+++ b/docs/logging.html.in
@@ -102,8 +102,8 @@
        variables.

The format for a filter is one of:

-  x:name  (log message only)
-  x:+name (log message + stack trace)
+x:name (log message only) +x:+name (log message + stack trace)

where name 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., remote, qemu, @@ -201,23 +201,23 @@

- $ 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" }