You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ke...@apache.org on 2004/04/25 21:53:08 UTC

cvs commit: httpd-2.0/docs/manual/programs rotatelogs.html.en rotatelogs.xml

kess        2004/04/25 12:53:08

  Modified:    docs/manual/programs rotatelogs.html.en rotatelogs.xml
  Log:
  add an example for windows and netware users not familiar with strftime()
  
  submitted by: Guenter Knauf <gk...@gknw.de>
  
  Revision  Changes    Path
  1.9       +8 -0      httpd-2.0/docs/manual/programs/rotatelogs.html.en
  
  Index: rotatelogs.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/programs/rotatelogs.html.en,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- rotatelogs.html.en	21 Feb 2004 00:31:44 -0000	1.8
  +++ rotatelogs.html.en	25 Apr 2004 19:53:08 -0000	1.9
  @@ -41,6 +41,14 @@
        <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>
  
  
  
  1.8       +9 -1      httpd-2.0/docs/manual/programs/rotatelogs.xml
  
  Index: rotatelogs.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/programs/rotatelogs.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- rotatelogs.xml	17 Apr 2004 11:18:05 -0000	1.7
  +++ rotatelogs.xml	25 Apr 2004 19:53:08 -0000	1.8
  @@ -45,6 +45,14 @@
        <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>