]> granicus.if.org Git - apache/commitdiff
I never adequately tested these examples when writing logs.xml, and
authorJoshua Slive <slive@apache.org>
Thu, 21 Nov 2002 21:06:57 +0000 (21:06 +0000)
committerJoshua Slive <slive@apache.org>
Thu, 21 Nov 2002 21:06:57 +0000 (21:06 +0000)
I've heard from a couple places that these examples don't work very
well.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97588 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/logs.xml

index 37e27743633c15fb0142ab4826984bda12e0632f..2aba77549a6002d14e2c1d8fe8e1845baaa8a865 100644 (file)
     that piped log programs usually run as root. It is therefore
     very important to keep the programs simple and secure.</p>
 
-    <p>Some simple examples using piped logs:</p>
-
-    <example>
-      # compressed logs<br />
-      CustomLog "|/usr/bin/gzip -c &gt;&gt;
-      /var/log/access_log.gz" common<br />
-      # almost-real-time name resolution<br />
-      CustomLog "|/usr/local/apache/bin/logresolve &gt;&gt;
-      /var/log/access_log" common
-    </example>
-
-    <p>Notice that quotes are used to enclose the entire command
-    that will be called for the pipe. Although these examples are
-    for the access log, the same technique can be used for the
-    error log.</p>
-
     <p>One important use of piped logs is to allow log rotation
     without having to restart the server. The Apache HTTP Server
     includes a simple program called <a
       /var/log/access_log 86400" common
     </example>
     
+    <p>Notice that quotes are used to enclose the entire command
+    that will be called for the pipe. Although these examples are
+    for the access log, the same technique can be used for the
+    error log.</p>
+
     <p>A similar, but much more flexible log rotation program
     called <a href="http://www.cronolog.org/">cronolog</a>
     is available at an external site.</p>