]> granicus.if.org Git - apache/commitdiff
add an example for windows and netware users not familiar with strftime()
authorAstrid Malo <kess@apache.org>
Sun, 25 Apr 2004 19:53:08 +0000 (19:53 +0000)
committerAstrid Malo <kess@apache.org>
Sun, 25 Apr 2004 19:53:08 +0000 (19:53 +0000)
submitted by: Guenter Knauf <gk@gknw.de>

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

docs/manual/programs/rotatelogs.html.en
docs/manual/programs/rotatelogs.xml

index a3c855f4320b5d5b90d79642ed01e5b1866f4b68..6c8aab280349077315527c62e5c485ce52c0bd14 100644 (file)
      <p>This configuration will rotate the logfile whenever it reaches
      a size of 5 megabytes.</p>
         
+<div class="example"><p><code>
+     ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_%M_%S 5M"
+</code></p></div>
+     <p>This configuration will rotate the error logfile whenever it
+     reaches a size of 5 megabytes, and the suffix to the logfile name
+     will be created of the form
+     <code>errorlog.YYYY-mm-dd-HH_MM_SS</code>.</p>
 </div>
 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
 <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
index 181bfc90c1d9addb53f7a04decd63d3f288315d5..cc0936407f7bd562dd1f0dd0460f0a75c2f0b220 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 
 <!--
  Copyright 2003-2004 The Apache Software Foundation
      <p>This configuration will rotate the logfile whenever it reaches
      a size of 5 megabytes.</p>
         
+<example>
+     ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_%M_%S 5M"
+</example>
+     <p>This configuration will rotate the error logfile whenever it
+     reaches a size of 5 megabytes, and the suffix to the logfile name
+     will be created of the form
+     <code>errorlog.YYYY-mm-dd-HH_MM_SS</code>.</p>
 </summary>
 
 <section id="synopsis"><title>Synopsis</title>