home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 November / CMCD1104.ISO / Software / Complet / Apache / apache_2.0.52-win32-x86-no_ssl.msi / Data.Cab / F278327_mod_log_config.xml.ja < prev    next >
Extensible Markup Language  |  2004-09-06  |  21KB  |  452 lines

  1. <?xml version="1.0" encoding="iso-2022-jp"?>
  2. <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
  3. <?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
  4. <!-- English Revision: 1.13.2.14 -->
  5.  
  6. <!--
  7.  Copyright 2004 The Apache Software Foundation
  8.  
  9.  Licensed under the Apache License, Version 2.0 (the "License");
  10.  you may not use this file except in compliance with the License.
  11.  You may obtain a copy of the License at
  12.  
  13.      http://www.apache.org/licenses/LICENSE-2.0
  14.  
  15.  Unless required by applicable law or agreed to in writing, software
  16.  distributed under the License is distributed on an "AS IS" BASIS,
  17.  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18.  See the License for the specific language governing permissions and
  19.  limitations under the License.
  20. -->
  21.  
  22. <modulesynopsis metafile="mod_log_config.xml.meta">
  23.  
  24. <name>mod_log_config</name>
  25. <description>$B%5!<%P$X$N%j%/%(%9%H$N%m%.%s%0(B</description>
  26. <status>Base</status>
  27. <sourcefile>mod_log_config.c</sourcefile>
  28. <identifier>log_config_module</identifier>
  29.  
  30. <summary>
  31.     <p>
  32.     $B$3$N%b%8%e!<%k$O%/%i%$%"%s%H$N%j%/%(%9%H$r=@Fp$K%m%0<}=8$9$k5!G=$r(B
  33.     $BDs6!$7$^$9!#%m%0$O%+%9%?%^%$%:2DG=$J=q<0$G=q$+$l!"%U%!%$%k$KD>@\(B
  34.     $B=q$$$?$j!"30It%W%m%0%i%`$KEO$7$?$j$9$k$3$H$,$G$-$^$9!#8D!9$N%j%/%(%9%H$r(B
  35.     $BFCD'$K1~$8$F%m%0$K=q$$$?$j=q$+$J$+$C$?$j$G$-$k$h$&$K!">r7o$K$h$k(B
  36.     $B%m%0<}=8$bDs6!$5$l$F$$$^$9!#(B</p>
  37.  
  38.     <p>$B$3$N%b%8%e!<%k$O;0$D$N%G%#%l%/%F%#%VDs6!$7$^$9(B:
  39.     $B%m%0%U%!%$%k$r:n@.$9$k$?$a$N(B <directive module="mod_log_config"
  40.     >TransferLog</directive>,
  41.     $B?7$7$$=q<0$r(B $BDj5A$9$k(B <directive module="mod_log_config">LogFormat</directive>,
  42.     $B%m%0%U%!%$%k$H(B $B=q<0$r0lEY$KDj5A$9$k(B <directive module="mod_log_config"
  43.     >CustomLog</directive> $B$G$9!#(B
  44.     $B3F%j%/%(%9%H$,J#?t2s%m%0<}=8$5$l$k$h$&$K$9$k$?$a$K(B
  45.     <directive>TransferLog</directive> $B%G%#%l%/%F%#%V$H(B
  46.     <directive>CustomLog</directive>
  47.     $B%G%#%l%/%F%#%V$OJ#?t2s;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>
  48. </summary>
  49. <seealso><a href="../logs.html">Apache $B%m%0%U%!%$%k(B</a></seealso>
  50.  
  51. <section id="formats"><title>$B%+%9%?%`%m%0=q<0(B</title>
  52.  
  53.     <p><directive module="mod_log_config">LogFormat</directive> $B%G%#%l%/%F%#%V$H(B
  54.     <directive module="mod_log_config">CustomLog</directive>
  55.     $B%G%#%l%/%F%#%V$N=q<0$r;XDj$9$k0z?t$OJ8;zNs$G$9!#$3$NJ8;zNs$r;H$C$F$=$l$>$l$N(B
  56.     $B%j%/%(%9%H$,%m%0%U%!%$%k$K%m%0<}=8$5$l$^$9!#$=$NJ8;zNs$K$O(B
  57.     $B%m%0%U%!%$%k$K$=$N$^$^(B
  58.     $B=q$+$l$kJ8;zNs$d!"$=$l$>$l2~9T$H%?%V$r8=$9(B C $B8@8l(B
  59.     $B7A<0$N@)8fJ8;z(B "\n" $B$H(B "\t"
  60.     $B$H$r4^$a$k$3$H$,$G$-$^$9!#$=$N$^$^=PNO$5$;$?$$0zMQId$H%P%C%/%9%i%C%7%e$O(B
  61.     $B%P%C%/%9%i%C%7%e$G%(%9%1!<%W$9$kI,MW$,$"$j$^$9!#(B</p>
  62.  
  63.     <p>$B%j%/%(%9%H$NFCD'$=$N$b$N$O(B "<code>%</code>"
  64.     $B%G%#%l%/%F%#%V$r=q<0$NJ8;zNs$K=q$/$3$H$G(B
  65.     $B%m%0<}=8$5$l$^$9!#(B"%"
  66.     $B%G%#%l%/%F%#%V$O%m%0%U%!%$%kCf$G$O0J2<$N$h$&$J(B
  67.     $BCM$GCV49$5$l$^$9(B:</p>
  68.  
  69.     <table border="1" style="zebra">
  70.     <columnspec><column width=".2"/><column width=".8"/></columnspec>
  71.     <tr><th>$B%U%)!<%^%C%HJ8;zNs(B</th>
  72.         <th>$B@bL@(B</th></tr>
  73.  
  74.     <tr><td><code>%%</code></td>
  75.         <td>$B%Q!<%;%s%H5-9f(B (<em>Apache 2.0.44 $B0J9_(B</em>)</td></tr>
  76.  
  77.     <tr><td><code>%...a</code></td>
  78.         <td>$B%j%b!<%H(B IP $B%"%I%l%9(B</td></tr>
  79.  
  80.     <tr><td><code>%...A</code></td>
  81.         <td>$B%m!<%+%k(B IP $B%"%I%l%9(B</td></tr>
  82.  
  83.     <tr><td><code>%...B</code></td>
  84.         <td>HTTP $B%X%C%@0J30$NAw$i$l$?%P%$%H?t(B</td></tr>
  85.  
  86.     <tr><td><code>%...b</code></td>
  87.         <td>HTTP $B%X%C%@0J30$NAw$i$l$?%P%$%H?t!#(BCLF $B=q<0!#(B
  88.         <em>$B$9$J$o$A(B</em>$B!"(B1 $B%P%$%H$bAw$i$l$J$+$C$?$H$-$O(B 0 $B$G$O$J$/!"(B
  89.         '<code>-</code>' $B$K$J$k(B</td></tr>
  90.  
  91.     <tr><td><code>%...{<var>Foobar</var>}C</code></td>
  92.         <td>$B%5!<%P$KAw$i$l$?%j%/%(%9%HCf$N%/%C%-!<(B <var>Foobar</var> $B$NCM(B</td></tr>
  93.  
  94.     <tr><td><code>%...D</code></td>
  95.         <td>$B%j%/%(%9%H$r=hM}$9$k$N$K$+$+$C$?;~4V!"%_%jICC10L(B</td></tr>
  96.  
  97.     <tr><td><code>%...{<var>FOOBAR</var>}e</code></td>
  98.         <td>$B4D6-JQ?t(B <var>FOOBAR</var> $B$NFbMF(B</td></tr>
  99.  
  100.     <tr><td><code>%...f</code></td>
  101.         <td>$B%U%!%$%kL>(B</td></tr>
  102.  
  103.     <tr><td><code>%...h</code></td>
  104.         <td>$B%j%b!<%H%[%9%H(B</td></tr>
  105.  
  106.     <tr><td><code>%...H</code></td>
  107.         <td>$B%j%/%(%9%H%W%m%H%3%k(B</td></tr>
  108.  
  109.     <tr><td><code>%...{<var>Foobar</var>}i</code></td>
  110.         <td>$B%5!<%P$KAw$i$l$?%j%/%(%9%H$N(B <code><var>Foobar</var>:</code>
  111.         $B%X%C%@$NFbMF(B</td></tr>
  112.  
  113.     <tr><td><code>%...l</code></td>
  114.         <td>(identd $B$+$i$b$7Ds6!$5$l$F$$$l$P(B) $B%j%b!<%H%m%0L>!#(B
  115.         $B$3$l$O(B
  116.         <directive module="core">IdentityCheck</directive>
  117.         $B%G%#%l%/%F%#%V$,(B <code>On</code> $B$K@_Dj$5$l$F$$$J$$8B$j!"(B
  118.         <code>-</code> $B$K$J$j$^$9!#(B</td></tr>
  119.  
  120.     <tr><td><code>%...m</code></td>
  121.         <td>$B%j%/%(%9%H%a%=%C%I(B</td></tr>
  122.  
  123.     <tr><td><code>%...{<var>Foobar</var>}n</code></td>
  124.         <td>$BB>$N%b%8%e!<%k$+$i$N%a%b(B <var>Foobar</var> $B$NFbMF(B</td></tr>
  125.  
  126.     <tr><td><code>%...{<var>Foobar</var>}o</code></td>
  127.         <td>$B1~Ez$N(B <code><var>Foobar</var>:</code> $B%X%C%@$NFbMF(B</td></tr>
  128.  
  129.     <tr><td><code>%...p</code></td>
  130.         <td>$B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@5<0$J%]!<%H(B</td></tr>
  131.  
  132.     <tr><td><code>%...P</code></td>
  133.         <td>$B%j%/%(%9%H$r07$C$?;R%W%m%;%9$N%W%m%;%9(B ID</td></tr>
  134.  
  135.     <tr><td><code>%...{<var>format</var>}P</code></td>
  136.         <td>$B%j%/%(%9%H$r07$C$?%o!<%+!<$N%W%m%;%9(B ID $B$+%9%l%C%I(B ID$B!#(B
  137.         <var>format</var> $B$H$7$FM-8z$JCM$O(B <code>pid</code> $B$H(B <code>tid</code>
  138.     (<em>Apache 2.0.46 $B0J9_(B</em>)
  139.         </td></tr>
  140.  
  141.     <tr><td><code>%...q</code></td>
  142.         <td>$BLd$$9g$;J8;zNs(B ($BB8:_$9$k>l9g$OA0$K(B <code>?</code> $B$,DI2C$5$l$k!#(B
  143.         $B$=$&$G$J$$>l9g$O6uJ8;zNs(B)</td></tr>
  144.  
  145.     <tr><td><code>%...r</code></td>
  146.         <td>$B%j%/%(%9%H$N:G=i$N9T(B</td></tr>
  147.  
  148.     <tr><td><code>%...s</code></td>
  149.         <td>$B%9%F!<%?%9!#FbIt$G%j%@%$%l%/%H$5$l$?%j%/%(%9%H$O!"85!9$N(B
  150.          $B%j%/%(%9%H$N%9%F!<%?%9(B --- $B:G8e$N%9%F!<%?%9$O(B <code>%...>s</code>
  151.     </td></tr>
  152.  
  153.     <tr><td><code>%...t</code></td>
  154.         <td>$B;~9o!#(BCLF $B$N;~9o$N=q<0(B ($BI8=`$N1Q8l$N=q<0(B)</td></tr>
  155.  
  156.     <tr><td><code>%...{<var>format</var>}t</code></td>
  157.         <td><var>format</var> $B$GM?$($i$l$?=q<0$K$h$k;~9o!#(Bformat $B$O(B
  158.          <code>strftime (3)</code> $B$N(B
  159.          $B=q<0$G$"$kI,MW$,$"$k!#(B($BCO0h2=$5$l$F$$$k2DG=@-$,$"$k(B)</td></tr>
  160.  
  161.     <tr><td><code>%...T</code></td>
  162.         <td>$B%j%/%(%9%H$r07$&$N$K$+$+$C$?;~4V!"ICC10L(B</td></tr>
  163.  
  164.     <tr><td><code>%...u</code></td>
  165.         <td>$B%j%b!<%H%f!<%6(B ($BG'>Z$K$h$k$b$N!#%9%F!<%?%9(B (<code>%s</code>) $B$,(B
  166.         401 $B$N$H$-$O0UL#$,$J$$$b$N$G$"$k2DG=@-$,$"$k(B)
  167.     </td></tr>
  168.  
  169.     <tr><td><code>%...U</code></td>
  170.         <td>$B%j%/%(%9%H$5$l$?(B URL $B%Q%9!#%/%(%jJ8;zNs$O4^$^$J$$(B</td></tr>
  171.  
  172.     <tr><td><code>%...v</code></td>
  173.         <td>$B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@5<0$J(B <directive
  174.         module="core">ServerName</directive></td></tr>
  175.  
  176.     <tr><td><code>%...V</code></td>
  177.         <td><directive module="core"
  178.         >UseCanonicalName</directive> $B$N@_Dj$K$h$k%5!<%PL>(B</td></tr>
  179.  
  180.     <tr><td><code>%...X</code></td>
  181.         <td>$B1~Ez$,40N;$7$?$H$-$N@\B3%9%F!<%?%9(B:
  182.  
  183.         <table>
  184.         <columnspec><column width=".2"/><column width=".6"/></columnspec>
  185.         <tr><td><code>X</code> =</td>
  186.             <td>$B1~Ez$,40N;$9$kA0$K@\B3$,0[>o=*N;(B</td></tr>
  187.         <tr><td><code>+</code> =</td>
  188.             <td>$B1~Ez$,Aw$i$l$?8e$K@\B3$r;}B3$9$k$3$H$,2DG=(B</td></tr>
  189.         <tr><td><code>-</code> = </td>
  190.             <td>$B1~Ez$,Aw$i$l$?8e$K@\B3$,@Z$i$l$k(B</td></tr>
  191.         </table>
  192.  
  193.         <p>($B$3$N%G%#%l%/%F%#%V$O(B Apache
  194.         1.3 $B$N8e4|$N%P!<%8%g%s$G$O(B <code>%...c</code> $B$K3d$jEv$F$i$l$F(B
  195.         $B$$$^$7$?$,!"$3$l$ONr;KE*$K(B ssl $B$,;HMQ$7$F$$$k(B
  196.         <code>%...{<var>var</var>}c</code>
  197.         $B9=J8$H>WFM$7$F$$$^$7$?!#(B)</p></td></tr>
  198.  
  199.     <tr><td><code>%...I</code></td>
  200.         <td>$B%j%/%(%9%H$H%X%C%@$r4^$`!"<u$1<h$C$?%P%$%H?t!#(B
  201.         0 $B$K$O$J$i$J$$!#(B
  202.         $B$3$l$r;HMQ$9$k$?$a$K$O(B <module>mod_logio</module> $B$,I,MW(B</td></tr>
  203.  
  204.     <tr><td><code>%...O</code></td>
  205.         <td>$B%X%C%@$r4^$`!"Aw?.$7$?%P%$%H?t!#(B0 $B$K$O$J$i$J$$!#(B
  206.         $B$3$l$r;HMQ$9$k$?$a$K$O(B <module>mod_logio</module> $B$,I,MW(B</td></tr>
  207.     </table>
  208.  
  209.     <p><var>"..."</var> $B$O2?$b$J$$$+(B (<em>$BNc$($P(B</em>$B!"(B
  210.     <code>"%h %u %r %s %b"</code> $B$N$h$&$K(B)$B!"(B
  211.     $B$=$N9`L\$r4^$a$k$+$I$&$+$N>r7o(B ($B$b$7>r7o$K9g$o$J$+$C$?$H$-$O(B
  212.     $B$=$N9`L\$O(B "-" $B$K$J$j$^$9(B) $B$K$9$k$3$H$,$G$-$^$9!#>r7o$N7A<0$O(B
  213.     HTTP $B%9%F!<%?%9%3!<%I$N%j%9%H$G!"A0$K(B "!" $B$rIU$1$k$3$H$b$G$-$^$9!#(B
  214.     $B$G$9$+$i!"(B"%400,501{User-agent}i" $B$O(B 400 $B%(%i!<$H(B 501 $B%(%i!<(B
  215.     (Bad Request $B$H(B Not Implemented) $B$N$H$-$N$_(B <code>User-agent:</code>
  216.     $B$r%m%0<}=8$7$^$9!#(B
  217.     "%!200,304,302{Referer}i" $B$OIaDL$N%9%F!<%?%9$r(B<em>$BJV$5$J$+$C$?(B</em>
  218.     $B$9$Y$F$N%j%/%(%9%H$G(B <code>Referer:</code> $B$r%m%0<}=8$7$^$9!#(B</p>
  219.  
  220.     <p>$B=$>~;R(B "<" $B$H(B ">" $B$OFbIt%j%@%$%l%/%H$5$l$?%j%/%(%9%H$N%m%0$K(B
  221.     $B85$N%j%/%(%9%H$+:G=*E*$J%j%/%(%9%H$N$I$A$i$r;HMQ$9$k$+$r(B
  222.     $B;XDj$9$k$?$a$K;H$$$^$9!#%G%U%)%k%H$G$O!"(B<code>%</code> $B%G%#%l%/%F%#%V$N(B
  223.     <code>%s, %U, %T, %D, %r</code> $B$O85$N%j%/%(%9%H$r!"B>$O:G=*E*$J%j%/%(%9%H$r(B
  224.     $B;HMQ$7$^$9!#Nc$($P!"%j%/%(%9%H$N:G=*%9%F!<%?%9$r5-O?$9$k$K$O(B
  225.     <code>%>s</code> $B$r!"FbItE*$KG'>Z$5$l$F$$$J$$%j%=!<%9$X%j%@%$%l%/%H$5$l$?(B
  226.     $B%j%/%(%9%H$G85$N%j%/%(%9%H$GG'>Z$5$l$?%f!<%6$r5-O?$9$k$?$a$K$O(B
  227.     <code>%<u</code> $B$r;H$&$3$H$,$G$-$^$9!#(B</p>
  228.  
  229.     <p>httpd 2.0 $B$N(B 1.3.25 $B$h$jA0$N%P!<%8%g%s$G$O!"(B
  230.     <code>%...r</code>, <code>%...i</code>,
  231.     <code>%...o</code> $B$NJ8;zNs$O(B
  232.     $B%(%9%1!<%W$5$l$F$$$J$+$C$?$3$H$K(B
  233.     $BCm0U$7$F$/$@$5$$!#$3$l$O<g$K(B Common Log Format $B$+$i$NMW5a$K$h$k$b$N$G$9!#(B
  234.     $B$3$l$O!"%/%i%$%"%s%H$,%m%0$K@)8fJ8;z$rA^F~$9$k$3$H$,$G$-$k$H$$$&$3$H$G!"(B
  235.     $B@8$N%m%0%U%!%$%k$r07$&$H$-$K$OHs>o$KCm0U$,I,MW$G$7$?!#(B</p>
  236.  
  237.     <p>$B%;%-%e%j%F%#>e$NM}M3$K$h$j(B 2.0.46 $B$h$j0u;zIT2DG=$JJ8;z$H(B
  238.     $BB>$NFCJL$JJ8;z$O!"$[$H$s$I(B <code>\x<var>hh</var></code> $B$H$$$&(B
  239.     $BJ8;zNs$G%(%9%1!<%W$5$l$k$h$&$K$J$j$^$7$?!#$3$3$G!"(B<var>hh</var> $B$O(B
  240.     $B$=$N$^$^$N%P%$%H$NCM$N(B 16 $B?J$G$NCM$G$9!#$3$N5,B'$NNc30$K$O!"(B
  241.     $B%P%C%/%9%i%C%7%e$r;H$C$F%(%9%1!<%W$5$l$k(B <code>"</code> $B$H(B <code>\</code> $B$H!"(B
  242.     C $B7A<0$NI=5-K!$,;H$o$l$k6uGrJ8;z(B (<code>\n</code>, <code>\t</code> $B$J$I(B) $B$,(B
  243.     $B$"$j$^$9!#(B</p>
  244.  
  245.     <p>$B$h$/;H$o$l$k%U%)!<%^%C%HJ8;zNs$O(B:</p>
  246.  
  247.     <dl>
  248.       <dt>Common Log Format (CLF)</dt>
  249.       <dd><code>"%h %l %u %t \"%r\" %>s %b"</code></dd>
  250.  
  251.       <dt>$B%P!<%A%c%k%[%9%HIU$-(B Common Log Format</dt>
  252.       <dd><code>"%v %h %l %u %t \"%r\" %>s %b"</code></dd>
  253.  
  254.       <dt>NCSA extended/combined $B%m%0=q<0(B</dt>
  255.       <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
  256.       \"%{User-agent}i\""</code></dd>
  257.  
  258.       <dt>Referer $B%m%0=q<0(B</dt>
  259.       <dd><code>"%{Referer}i -> %U"</code></dd>
  260.  
  261.       <dt>Agent ($B%V%i%&%6(B) $B%m%0=q<0(B</dt>
  262.       <dd><code>"%{User-agent}i"</code></dd>
  263.     </dl>
  264.  
  265.     <p><code>%v</code> $B$H(B <code>%p</code> $B$K$O$=$l$>$l!"(B
  266.     $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@55,2=$5$l$?(B
  267.     <directive module="core">ServerName</directive> $B$H(B <directive
  268.     module="mpm_common">Listen</directive> $B$,;H$o$l$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
  269.     $B$3$l$O(B <directive module="core">UseCanonicalName</directive> $B$N(B
  270.     $B@_Dj$K4X$o$i$:!">o$K$=$&$J$j$^$9!#$=$&$7$J$$$H$I$N(B
  271.     $B%[%9%H$,<B:]$K%j%/%(%9%H$r07$C$?$N$+$rCN$k$?$a$K!"(B
  272.     $B%m%02r@O%W%m%0%i%`$,%P!<%A%c%k%[%9%H$N%^%C%A%s%0$r$H$k%"%k%4%j%:%`A4BN$r(B
  273.     $B:F<BAu$7$J$1$l$P$J$i$J$/$J$k$+$i$G$9!#(B</p>
  274. </section>
  275.  
  276. <section id="security"><title>$B%;%-%e%j%F%#$K4X$7$F(B</title>
  277.     <p>$B%m%0%U%!%$%k$,J]B8$5$l$F$$$k%G%#%l%/%H%j$,%5!<%P$r5/F0$7$?0J30$N%f!<%6$G(B
  278.     $B=q$-9~$_2DG=$J$H$-$K%;%-%e%j%F%#$NLdBj$,H/@8$9$kM}M3$N>\:Y$O(B<a
  279.     href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$N$3$D(B</a>
  280.     $B$r;2>H$7$F$/$@$5$$!#(B</p>
  281. </section>
  282.  
  283. <directivesynopsis>
  284. <name>CookieLog</name>
  285. <description>$B%/%C%-%s%0$N%m%.%s%0$N$?$a$N%U%!%$%kL>$r@_Dj$9$k(B</description>
  286. <syntax>CookieLog <var>filename</var></syntax>
  287. <contextlist><context>server config</context><context>virtual host</context>
  288. </contextlist>
  289. <compatibility>$B$3$N%G%#%l%/%F%#%V$OHs?d>)(B</compatibility>
  290.  
  291. <usage>
  292.     <p><directive>CookieLog</directive>
  293.     $B%G%#%l%/%F%#%V$O%/%C%-!<$N%m%.%s%0$N$?$a$N%U%!%$%kL>$r(B
  294.     $B@_Dj$7$^$9!#(Bfilename $B$O(B <directive
  295.     module="core">ServerRoot</directive>
  296.     $B$+$i$NAjBP%Q%9$G$9!#$3$N%G%#%l%/%F%#%V$O(B <code
  297.     >mod_cookies</code> $B$H$N8_49@-$N$?$a$@$1$K(B
  298.     $BB8:_$7!";HMQ$O?d>)$5$l$F$$$^$;$s!#(B</p>
  299. </usage>
  300. </directivesynopsis>
  301.  
  302. <directivesynopsis>
  303. <name>CustomLog</name>
  304. <description>$B%m%0%U%!%$%k$NL>A0$H=q<0$r@_Dj$9$k(B</description>
  305. <syntax>CustomLog  <var>file</var>|<var>pipe</var>
  306. <var>format</var>|<var>nickname</var>
  307. [env=[!]<var>environment-variable</var>]</syntax>
  308. <contextlist><context>server config</context><context>virtual host</context>
  309. </contextlist>
  310.  
  311. <usage>
  312.     <p><directive>CustomLog</directive> $B%G%#%l%/%F%#%V$O%5!<%P$X$N%j%/%(%9%H$r(B
  313.     $B%m%0<}=8$9$k$?$a$K;H$o$l$^$9!#%m%0$N=q<0$,;XDj$5$l!"(B
  314.     $B4D6-JQ?t$r;H$C$F%m%.%s%0$,>r7o$K1~$8$F9T$J$o$l$k$h$&$K$9$k$3$H$b$G$-$^$9!#(B</p>
  315.  
  316.     <p>$B%m%0$,=q$+$l$k>l=j$r;XDj$9$k:G=i$N0z?t$O0J2<$NFs$D$N7A<0$NCM$r(B
  317.     $B$H$k$3$H$,$G$-$^$9(B:</p>
  318.  
  319.     <dl>
  320.       <dt><var>file</var></dt>
  321.       <dd><directive module="core">ServerRoot</directive>
  322.       $B$+$i$NAjBP%Q%9$GI=$5$l$k%U%!%$%kL>!#(B</dd>
  323.  
  324.       <dt><var>pipe</var></dt>
  325.       <dd>$B%Q%$%WJ8;z(B "<code>|</code>" $B$H!"$=$N8e$KI8=`F~NO$+$i%m%0$N(B
  326.       $B>pJs$r<u$1$H$k%W%m%0%i%`$X$N%Q%9$,B3$$$?$b$N!#(B
  327.  
  328.       <note type="warning"><title>$B%;%-%e%j%F%#(B</title>
  329.       <p>$B$b$7%W%m%0%i%`$,;HMQ$5$l$?>l9g!"(B
  330.       httpd $B$,5/F0$5$l$?%f!<%6$H$7$F<B9T$5$l$^$9!#$3$l$O%5!<%P$,(B
  331.       root $B$K$h$C$F5/F0$5$l$?>l9g$O(B root $B$K$J$j$^$9!#%W%m%0%i%`$,(B
  332.       $B0BA4$G$"$k$h$&$KN10U$7$F$/$@$5$$!#(B</p>
  333.       </note>
  334.       <note type="warning"><title>$BCm(B</title>
  335.         <p>Unix $B$G$J$$%W%i%C%H%U%)!<%`$G%U%!%$%k$N%Q%9$rF~NO$7$F$$$k$H$-$O!"(B
  336.         $B;HMQ$7$F$$$k%W%i%C%H%U%)!<%`$,%P%C%/%9%i%C%7%e$N;HMQ$r5v2D$7$F$$$?(B
  337.         $B$H$7$F!"DL>o$N%9%i%C%7%e$@$1$r;H$&$h$&$K5$$r$D$1$F$/$@$5$$!#(B
  338.         $B0lHLE*$K!"@_Dj%U%!%$%kCf$G$O>o$KIaDL$N%9%i%C%7%e$N$_$r;H$&$h$&$K$9$k(B
  339.         $BJ}$,NI$$$G$9!#(B</p>
  340.       </note></dd>
  341.     </dl>
  342.  
  343.     <p>$BFs$D$a$N0z?t$O%m%0%U%!%$%k$K2?$,=q$+$l$k$+$r;XDj$7$^$9!#(B
  344.     $BA0$K$"$k(B <directive
  345.     module="mod_log_config">LogFormat</directive> $B%G%#%l%/%F%#%V$K$h$j(B
  346.     $BDj5A$5$l$?(B <var>nickname</var> $B$+!"(B<a href="#formats">$B%m%0$N=q<0(B</a>
  347.     $B$N$H$3$m$G@bL@$5$l$F$$$k!"L@<(E*$J(B <var>format</var> $BJ8;zNs$N(B
  348.     $B$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B</p>
  349.  
  350.     <p>$BNc$($P!"0J2<$NFs$D$N%G%#%l%/%F%#%V72$OA4$/F1$88z2L$r$b$?$i$7$^$9(B:</p>
  351.  
  352.     <example>
  353.       # CustomLog with format nickname<br />
  354.       LogFormat "%h %l %u %t \"%r\" %>s %b" common<br />
  355.       CustomLog logs/access_log common<br />
  356.       <br />
  357.       # CustomLog with explicit format string<br />
  358.       CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b"
  359.     </example>
  360.  
  361.     <p>$B;0$DL\$N0z?t$O>JN,2DG=$G!"%5!<%P$N4D6-$K$"$kJQ?t$,$"$k$+$J$$$+$K(B
  362.     $B1~$8$F%j%/%(%9%H$r%m%0<}=8$9$k$+$I$&$+$r@)8f$9$k$?$a$K;H$&$3$H$,$G$-$^$9!#(B
  363.     $B;XDj$5$l$?(B<a href="../env.html">$B4D6-JQ?t(B</a>$B$,%j%/%(%9%H$KBP$7$F(B
  364.     $B@_Dj$5$l$F$$$?>l9g(B ('<code>env=!<var>name</var></code>' $BJ8$,;H$o$l$?$H$-$O(B
  365.     $B@_Dj$5$l$F$$$J$$>l9g(B)$B!"%j%/%(%9%H$,%m%0<}=8$5$l$^$9!#(B</p>
  366.  
  367.     <p>$B4D6-JQ?t$O(B <module>mod_setenvif</module> $B%b%8%e!<%k$H(B
  368.     <module>mod_rewrite</module> $B%b%8%e!<%k$NN>J}$b$7$/$O(B
  369.     $BJRJ}$rMQ$$$F%j%/%(%9%H$4$H$K@_Dj$9$k$3$H$,$G$-$^$9!#(B
  370.     $BNc$($P!"%5!<%P$K$"$k$9$Y$F$N(B GIF $B2hA|$X$N%j%/%(%9%H$rJL$N%m%0%U%!%$%k(B
  371.     $B$K$O5-O?$7$?$$$1$l$I!"%a%$%s%m%0$K$O5-O?$7$?$/$J$$!"$H$$$&$H$-$O(B
  372.     $B0J2<$N$b$N$r;H$&$3$H$,$G$-$^$9(B:</p>
  373.     
  374.     <example>
  375.       SetEnvIf Request_URI \.gif$ gif-image<br />
  376.       CustomLog gif-requests.log common env=gif-image<br />
  377.       CustomLog nongif-requests.log common env=!gif-image
  378.     </example>
  379. </usage>
  380. </directivesynopsis>
  381.  
  382. <directivesynopsis>
  383. <name>LogFormat</name>
  384. <description>$B%m%0%U%!%$%k$G;HMQ$9$k=q<0$r@_Dj$9$k(B</description>
  385. <syntax>LogFormat <var>format</var>|<var>nickname</var>
  386. [<var>nickname</var>]</syntax>
  387. <default>LogFormat "%h %l %u %t \"%r\" %>s %b"</default>
  388. <contextlist><context>server config</context><context>virtual host</context>
  389. </contextlist>
  390.  
  391. <usage>
  392.     <p>$B$3$N%G%#%l%/%F%#%V$O%"%/%;%9%m%0%U%!%$%k$N=q<0$r;XDj$7$^$9!#(B</p>
  393.  
  394.     <p><directive>LogFormat</directive> $B%G%#%l%/%F%#%V$OFs$D$N7A<0$N$I$A$i$+$r(B
  395.     $B$H$k$3$H$,$G$-$^$9!#:G=i$N7A<0$G$O0l$D$N0z?t$N$_$,;XDj$5$l!"(B
  396.     $BB3$/(B <directive>TransferLog</directive>
  397.     $B$G;XDj$5$l$?%m%0$G;H$o$l$k%m%0$N=q<0$r@_Dj$7$^$9!#$3$NC1FH$N0z?t$G$O(B
  398.     $B>e$N(B<a href="#formats">$B%+%9%?%`%m%0=q<0(B</a>$B$G@bL@$5$l$F$$$k$h$&$K(B
  399.     <var>format</var> $B$rL@<(E*$K;XDj$9$k$3$H$,$G$-$^$9!#(B
  400.     $B$b$7$/$O!"2<$G@bL@$5$l$F$$$k$h$&$KA0$K(B <directive>LogFormat</directive>
  401.     $B%G%#%l%/%F%#%V$GDj5A$5$l$?%m%0$N=q<0$r(B <var>nickname</var>$B$r;H$C$F(B
  402.     $B;2>H$9$k$3$H$b$G$-$^$9!#(B</p>
  403.  
  404.     <p><directive>LogFormat</directive> $B%G%#%l%/%F%#%V$NFs$D$a$N7A<0$O(B
  405.     <var>format</var> $B$K(B <var>nickname</var> $B$rM?$($^$9!#(B
  406.     $B%U%)!<%^%C%HJ8;zNsA4BN$r:F$S=q$/$+$o$j$K!"(B
  407.     $B$3$N(B <var>nickname</var> $B$rB3$-$N(B <directive
  408.     >LogFormat</directive> $B%G%#%l%/%F%#%V$d(B
  409.     <directive>CustomLog</directive> $B%G%#%l%/%F%#%V$G;H$&$3$H$,$G$-$^$9!#(B
  410.     Nickname $B$rDj5A$9$k(B <directive>LogFormat</directive> $B%G%#%l%/%F%#%V$O(B
  411.     <strong>$BB>$K$O2?$b$7$^$;$s(B</strong> -- $B$9$J$o$A!"%K%C%/%M!<%`$rDj5A(B
  412.     $B$9$k$@$1$G!"<B:]$K=q<0$rE,MQ$7$F%G%U%)%k%H$K$9$k$H$$$&$3$H$O9T$J$$$^$;$s!#(B
  413.     $B$G$9$+$i!"$3$l$OB3$/(B <directive module="mod_log_config">TransferLog</directive>
  414.     $B%G%#%l%/%F%#%V$K$O1F6A$rM?$($^$;$s!#(B
  415.     $B$5$i$K!"(B<directive>LogFormat</directive> $B%G%#%l%/%F%#%V$O4{B8$N(B nickname $B$r(B
  416.     $B;H$C$FJL$N(B nickname $B$rDj5A$9$k$3$H$O$G$-$^$;$s!#(BNickname $B$K$O(B
  417.     $B%Q!<%;%s%H5-9f(B (<code>%</code>) $B$,4^$^$l$F$$$F$O$$$1$J$$$3$H$K$bCm0U(B
  418.     $B$7$F$/$@$5$$!#(B</p>
  419.  
  420.     <example><title>$BNc(B</title>
  421.       LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common
  422.     </example>
  423. </usage>
  424. </directivesynopsis>
  425.  
  426. <directivesynopsis>
  427. <name>TransferLog</name>
  428. <description>$B%m%0%U%!%$%k$N0LCV$r;XDj(B</description>
  429. <syntax>TransferLog <var>file</var>|<var>pipe</var></syntax>
  430. <contextlist><context>server config</context><context>virtual host</context>
  431. </contextlist>
  432.  
  433. <usage>
  434.     <p>$B$3$N%G%#%l%/%F%#%V$O!"%m%0=q<0$rD>@\;XDj$G$-$J$$$3$H$H!"(B
  435.     $B>r7oIU$-%m%.%s%0$,L5$$$3$H$r=|$/$H!"(B<directive module="mod_log_config"
  436.     >CustomLog</directive> $B$HA4$/F1$80z?t$H8z2L$,$"$j$^$9!#(B
  437.     $BD>@\%m%0=q<0$r;XDj$9$kBe$o$j$K!"%m%0$N=q<0$O$=$3$^$G$G0lHV:G8e$K;XDj$5$l$?(B
  438.     $B%K%C%/%M!<%`$rDj5A$7$J$$(B
  439.     <directive module="mod_log_config">LogFormat</directive> $B%G%#%l%/%F%#%V(B
  440.     $B$GDj5A$5$l$?$b$N$r;H$$$^$9!#(B
  441.     $B$b$7B>$N=q<0$,A4$/;XDj$5$l$F$$$J$$$H$-$O(B Common Log Format
  442.     $B$,;H$o$l$^$9!#(B</p>
  443.  
  444.     <example><title>$BNc(B</title>
  445.       LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""<br />
  446.       TransferLog logs/access_log
  447.     </example>
  448. </usage>
  449. </directivesynopsis>
  450.  
  451. </modulesynopsis>
  452.