[systemd-devel] [PATCH] man: bootchart: change /var/log to /run/log

William Giokas 1007380 at gmail.com
Wed Feb 13 12:49:24 PST 2013

As of [1], bootchart stores files in /run/log, not /var/log, by default.

[1] f2f85884caac671da84256acb44148df9a4dca70
 man/bootchart.conf.xml       | 2 +-
 man/systemd-bootchart.xml    | 2 +-
 src/bootchart/README         | 2 +-
 src/bootchart/bootchart.conf | 2 +-
 src/bootchart/svg.c          | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/man/bootchart.conf.xml b/man/bootchart.conf.xml
index 419554e..fb6e274 100644
--- a/man/bootchart.conf.xml
+++ b/man/bootchart.conf.xml
@@ -109,7 +109,7 @@
                                 <listitem><para>Configures the output folder for writing
                                 the graphs. By default, bootchart writes the graphs to
-                                <filename>/var/log</filename>.</para></listitem>
+                                <filename>/run/log</filename>.</para></listitem>
diff --git a/man/systemd-bootchart.xml b/man/systemd-bootchart.xml
index 7534110..a3fea05 100644
--- a/man/systemd-bootchart.xml
+++ b/man/systemd-bootchart.xml
@@ -138,7 +138,7 @@
                                 <term><option>--output [path]</option></term>
                                 <listitem><para>Configures the output folder for writing
                                 the graphs. By default, bootchart writes the graphs to
-                                <filename>/var/log</filename>.</para></listitem>
+                                <filename>/run/log</filename>.</para></listitem>
diff --git a/src/bootchart/README b/src/bootchart/README
index a209caf..03b0fe9 100644
--- a/src/bootchart/README
+++ b/src/bootchart/README
@@ -18,7 +18,7 @@ where possible problems exist in the startup sequence of the system.
 Of course, bootchart can also be used at any moment in time to collect and
 graph some data for an amount of time. Bootchart does not even require root
 privileges to do so, and will happily run as a normal user. Bootchart graphs
-are by default written time-stamped in /var/log.
+are by default written time-stamped in /run/log.
diff --git a/src/bootchart/bootchart.conf b/src/bootchart/bootchart.conf
index fa1a09b..0797504 100644
--- a/src/bootchart/bootchart.conf
+++ b/src/bootchart/bootchart.conf
@@ -12,7 +12,7 @@
-#output=<folder name, defaults to /var/log>
+#output=<folder name, defaults to /run/log>
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c
index ec81da9..fca3413 100644
--- a/src/bootchart/svg.c
+++ b/src/bootchart/svg.c
@@ -98,7 +98,7 @@ static void svg_header(void)
         svg("<!-- such as Chrome, Chromium, or Firefox. Other applications that       -->\n");
         svg("<!-- render these files properly but more slowly are ImageMagick, gimp,  -->\n");
         svg("<!-- inkscape, etc. To display the files on your system, just point      -->\n");
-        svg("<!-- your browser to file:///var/log/ and click. This bootchart was      -->\n\n");
+        svg("<!-- your browser to file:///run/log/ and click. This bootchart was      -->\n\n");
         svg("<!-- generated by bootchart version %s, running with options:  -->\n", VERSION);
         svg("<!-- hz=\"%f\" n=\"%d\" -->\n", hz, len);

More information about the systemd-devel mailing list