From: Andre Malo Date: Wed, 1 Jan 2003 21:14:51 +0000 (+0000) Subject: update german & english transformation X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcc1e369dfc8419e6f74132a8613beebbc61afa0;p=apache update german & english transformation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98152 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_deflate.html.en b/docs/manual/mod/mod_deflate.html.en index 89337e4c07..5f760bbdd7 100644 --- a/docs/manual/mod/mod_deflate.html.en +++ b/docs/manual/mod/mod_deflate.html.en @@ -46,7 +46,7 @@ client
  • Dealing with proxy servers
  • See also

    top
    @@ -231,10 +231,11 @@ client

    DeflateFilterNote Directive

    - + +
    Description:Places the compression ratio in a note for logging
    Syntax:DeflateFilterNote notename
    Syntax:DeflateFilterNote [type] notename
    Context:server config, virtual host
    Status:Extension
    Module:mod_deflate
    Compatibility:type is available since Apache 2.1

    The DeflateFilterNote directive specifies that a note about compression ratios should be attached @@ -249,6 +250,34 @@ client CustomLog logs/deflate_log deflate

    +

    If you want to extract more accurate values from your logs, you + can use the type argument to specify the type of data + left as note for logging. type can be one of:

    + +
    +
    Input
    +
    Store the byte count of the filter's input stream in the note.
    + +
    Output
    +
    Store the byte count of the filter's output stream in the note.
    + +
    Ratio
    +
    Store the compression ratio (output/input * 100) + in the note. This is the default, if the type argument + is omitted.
    +
    + +

    Thus you may log it this way:

    + +

    Accurate Logging

    + DeflateFilterNote Input instream
    + DeflateFilterNote Output outstream
    + DeflateFilterNote Ratio ratio
    +
    + LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' deflate
    + CustomLog logs/deflate_log deflate +

    +

    See also