You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2003/01/01 22:14:51 UTC

cvs commit: httpd-2.0/docs/manual/mod mod_deflate.html.en quickreference.html.de quickreference.html.en

nd          2003/01/01 13:14:51

  Modified:    docs/manual/mod mod_deflate.html.en quickreference.html.de
                        quickreference.html.en
  Log:
  update german & english transformation
  
  Revision  Changes    Path
  1.22      +31 -2     httpd-2.0/docs/manual/mod/mod_deflate.html.en
  
  Index: mod_deflate.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_deflate.html.en,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- mod_deflate.html.en	22 Dec 2002 15:36:16 -0000	1.21
  +++ mod_deflate.html.en	1 Jan 2003 21:14:51 -0000	1.22
  @@ -46,7 +46,7 @@
   <li><img alt="" src="../images/down.gif" /> <a href="#proxies">Dealing with proxy servers</a></li>
   </ul><h3>See also</h3>
   <ul class="seealso">
  -<li><a href="../filter.html">The filter documentation</a></li>
  +<li><a href="../filter.html">Filters</a></li>
   </ul></div>
   <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
   <div class="section">
  @@ -231,10 +231,11 @@
   <div class="directive-section"><h2><a name="DeflateFilterNote" id="DeflateFilterNote">DeflateFilterNote</a> <a name="deflatefilternote" id="deflatefilternote">Directive</a></h2>
   <table class="directive">
   <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Places the compression ratio in a note for logging</td></tr>
  -<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DeflateFilterNote <var>notename</var></code></td></tr>
  +<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>DeflateFilterNote [<var>type</var>] <var>notename</var></code></td></tr>
   <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
   <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
   <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_deflate</td></tr>
  +<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>type is available since Apache 2.1</td></tr>
   </table>
       <p>The <code class="directive">DeflateFilterNote</code> directive
       specifies that a note about compression ratios should be attached
  @@ -246,6 +247,34 @@
         DeflateFilterNote ratio<br />
         <br />
         LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate<br />
  +      CustomLog logs/deflate_log deflate
  +    </code></p></div>
  +
  +    <p>If you want to extract more accurate values from your logs, you
  +    can use the <var>type</var> argument to specify the type of data
  +    left as note for logging. <var>type</var> can be one of:</p>
  +
  +    <dl>
  +      <dt><code>Input</code></dt>
  +      <dd>Store the byte count of the filter's input stream in the note.</dd>
  +
  +      <dt><code>Output</code></dt>
  +      <dd>Store the byte count of the filter's output stream in the note.</dd>
  +
  +      <dt><code>Ratio</code></dt>
  +      <dd>Store the compression ratio (<code>output/input * 100</code>)
  +      in the note. This is the default, if the <var>type</var> argument
  +      is omitted.</dd>
  +    </dl>
  +
  +    <p>Thus you may log it this way:</p>
  +
  +    <div class="example"><h3>Accurate Logging</h3><p><code>
  +      DeflateFilterNote Input instream<br />
  +      DeflateFilterNote Output outstream<br />
  +      DeflateFilterNote Ratio ratio<br />
  +      <br />
  +      LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate<br />
         CustomLog logs/deflate_log deflate
       </code></p></div>
   
  
  
  
  1.7       +1 -1      httpd-2.0/docs/manual/mod/quickreference.html.de
  
  Index: quickreference.html.de
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/quickreference.html.de,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- quickreference.html.de	1 Jan 2003 16:58:14 -0000	1.6
  +++ quickreference.html.de	1 Jan 2003 21:14:51 -0000	1.7
  @@ -266,7 +266,7 @@
   <tr class="odd"><td><a href="core.html#defaulttype">DefaultType <var>MIME-type</var></a></td><td> text/plain </td><td>svdh</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">MIME content-type that will be sent if the
   server cannot determine a type in any other way</td></tr>
   <tr><td><a href="mod_deflate.html#deflatebuffersize">DeflateBufferSize <var>value</var></a></td><td> 8096 </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">Fragment size to be compressed at one time by zlib</td></tr>
  -<tr class="odd"><td><a href="mod_deflate.html#deflatefilternote">DeflateFilterNote <var>notename</var></a></td><td /><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Places the compression ratio in a note for logging</td></tr>
  +<tr class="odd"><td><a href="mod_deflate.html#deflatefilternote">DeflateFilterNote [<var>type</var>] <var>notename</var></a></td><td /><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Places the compression ratio in a note for logging</td></tr>
   <tr><td><a href="mod_deflate.html#deflatememlevel">DeflateMemLevel <var>value</var></a></td><td> 9 </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">How much memory should be used by zlib for compression</td></tr>
   <tr class="odd"><td><a href="mod_deflate.html#deflatewindowsize">DeflateWindowSize <var>value</var></a></td><td> 15 </td><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Zlib compression window size</td></tr>
   <tr><td><a href="mod_authz_host.html#deny"> Deny from all|<var>host</var>|env=<var>env-variable</var>
  
  
  
  1.63      +1 -1      httpd-2.0/docs/manual/mod/quickreference.html.en
  
  Index: quickreference.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/quickreference.html.en,v
  retrieving revision 1.62
  retrieving revision 1.63
  diff -u -r1.62 -r1.63
  --- quickreference.html.en	1 Jan 2003 16:58:14 -0000	1.62
  +++ quickreference.html.en	1 Jan 2003 21:14:51 -0000	1.63
  @@ -264,7 +264,7 @@
   <tr class="odd"><td><a href="core.html#defaulttype">DefaultType <var>MIME-type</var></a></td><td> text/plain </td><td>svdh</td><td>C</td></tr><tr class="odd"><td class="descr" colspan="4">MIME content-type that will be sent if the
   server cannot determine a type in any other way</td></tr>
   <tr><td><a href="mod_deflate.html#deflatebuffersize">DeflateBufferSize <var>value</var></a></td><td> 8096 </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">Fragment size to be compressed at one time by zlib</td></tr>
  -<tr class="odd"><td><a href="mod_deflate.html#deflatefilternote">DeflateFilterNote <var>notename</var></a></td><td /><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Places the compression ratio in a note for logging</td></tr>
  +<tr class="odd"><td><a href="mod_deflate.html#deflatefilternote">DeflateFilterNote [<var>type</var>] <var>notename</var></a></td><td /><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Places the compression ratio in a note for logging</td></tr>
   <tr><td><a href="mod_deflate.html#deflatememlevel">DeflateMemLevel <var>value</var></a></td><td> 9 </td><td>sv</td><td>E</td></tr><tr><td class="descr" colspan="4">How much memory should be used by zlib for compression</td></tr>
   <tr class="odd"><td><a href="mod_deflate.html#deflatewindowsize">DeflateWindowSize <var>value</var></a></td><td> 15 </td><td>sv</td><td>E</td></tr><tr class="odd"><td class="descr" colspan="4">Zlib compression window size</td></tr>
   <tr><td><a href="mod_authz_host.html#deny"> Deny from all|<var>host</var>|env=<var>env-variable</var>