summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/htdocs/manual/mod/mod_log_config.html.ja.jis
blob: 1e6893e8305d5c616db393e61ab35c634a4f7a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
<?xml version="1.0" encoding="iso-2022-jp"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
  <head>
    <title>Apache module mod_log_config</title>
  </head>
  <!-- English revision: 1.56 -->
  <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
  <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#000080"
  alink="#FF0000">
        <div align="CENTER">
      <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> 

      <h3>Apache HTTP Server Version 1.3</h3>
    </div>


    <h1 align="center">mod_log_config $B%b%8%e!<%k(B</h1>

    <p>$B$3$N%b%8%e!<%k$O%5!<%P$X$N%j%/%(%9%H$r(B Common Log Format
    $B$d%f!<%6$K;XDj$5$l$?=q<0$rMQ$$$F(B
    $B%m%0<}=8$9$k5!G=$rDs6!$7$^$9!#(B</p>

    <p><a href="module-dict.html#Status"
    rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br />
    <a href="module-dict.html#SourceFile"
    rel="Help"><strong>$B%=!<%9%U%!%$%k(B:</strong></a>
    mod_log_config.c<br />
    <a href="module-dict.html#ModuleIdentifier"
    rel="Help"><strong>$B%b%8%e!<%k<1JL;R(B:</strong></a>
    config_log_module<br />
    <a href="module-dict.html#Compatibility"
    rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2 $B$h$jA0$O(B
    extension $B%b%8%e!<%k$G$7$?!#(B</p>

    <h2>$B35MW(B</h2>

    <p>
    $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
    $BDs6!$7$^$9!#%m%0$O%+%9%?%^%$%:2DG=$J=q<0$G=q$+$l!"%U%!%$%k$KD>@\(B
    $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
    $BFCD'$K1~$8$F%m%0$K=q$$$?$j=q$+$J$+$C$?$j$G$-$k$h$&$K!">r7o$K$h$k(B
    $B%m%0<}=8$bDs6!$5$l$F$$$^$9!#(B</p>

    <p>$B$3$N%b%8%e!<%k$O;0$D$N%G%#%l%/%F%#%VDs6!$7$^$9(B:
    $B%m%0%U%!%$%k$r:n@.$9$k$?$a$N(B <code>TransferLog</code>,
    $B?7$7$$=q<0$r(B $BDj5A$9$k(B <code>LogFormat</code>,
    $B%m%0%U%!%$%k$H(B $B=q<0$r0lEY$KDj5A$9$k(B <code>CustomLog</code>
    $B$G$9!#(B
    $B3F%j%/%(%9%H$,J#?t2s%m%0<}=8$5$l$k$h$&$K$9$k$?$a$K(B
    <code>TransferLog</code> $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code>
    $B%G%#%l%/%F%#%V$OJ#?t2s;HMQ$9$k$3$H$,$G$-$^$9!#(B</p>

    <p>$B;2>H(B: <a href="../logs.html">Apache
    $B%m%0%U%!%$%k(B</a>$B!#(B</p>

    <h2>$B%G%#%l%/%F%#%V(B</h2>

    <ul>
    <li><a href="#cookielog">CookieLog</a></li>

    <li><a href="#customlog">CustomLog</a></li>

    <li><a href="#logformat">LogFormat</a></li>

    <li><a href="#transferlog">TransferLog</a></li>
    </ul>

    <h2><a id="formats" name="formats">$B%+%9%?%`%m%0=q<0(B</a></h2>

    <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code>
    $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
    $B%j%/%(%9%H$,%m%0%U%!%$%k$K%m%0<}=8$5$l$^$9!#$=$NJ8;zNs$K$O(B
    $B%m%0%U%!%$%k$K$=$N$^$^(B
    $B=q$+$l$kJ8;zNs$d!"$=$l$>$l2~9T$H%?%V$r8=$9(B C $B8@8l(B
    $B7A<0$N@)8fJ8;z(B "\n" $B$H(B "\t"
    $B$H$r4^$a$k$3$H$,$G$-$^$9!#$=$N$^$^=PNO$5$;$?$$0zMQId$H%P%C%/%9%i%C%7%e$O(B
    $B%P%C%/%9%i%C%7%e$G%(%9%1!<%W$9$kI,MW$,$"$j$^$9!#(B</p>

    <p>$B%j%/%(%9%H$NFCD'$=$N$b$N$O(B "<code>%</code>"
    $B%G%#%l%/%F%#%V$r=q<0$NJ8;zNs$K=q$/$3$H$G(B
    $B%m%0<}=8$5$l$^$9!#(B"%"
    $B%G%#%l%/%F%#%V$O%m%0%(%s%H%jCf$G$O0J2<$N$h$&$J(B
    $BCM$GCV49$5$l$^$9(B:</p>

<pre>
%...a:          $B%j%b!<%H(B IP $B%"%I%l%9(B
%...A:          $B%m!<%+%k(B IP $B%"%I%l%9(B
%...B:          HTTP $B%X%C%@0J30$NAw$i$l$?%P%$%H?t(B
%...b:          HTTP $B%X%C%@0J30$NAw$i$l$?%P%$%H?t!#(BCLF $B=q<0!#(B
                $B$9$J$o$A!"(B1 $B%P%$%H$bAw$i$l$J$+$C$?$H$-$O(B 0 $B$G$O$J$/!"(B'-' $B$K$J$k(B
%...c:          $B1~Ez$,=*N;$7$?$H$-$N@\B3%9%F!<%?%9!#(B
                'X' = $B1~Ez$,=*N;$9$kA0$K@\B3$,0[>o=*N;(B
                '+' = $B1~Ez$,Aw$i$l$?8e$K@\B3$r;}B3$9$k$3$H$,2DG=(B
                '-' = $B1~Ez$,Aw$i$l$?8e$K@\B3$O@Z$i$l$k(B
%...{FOOBAR}e:  $B4D6-JQ?t(B FOOBAR $B$NFbMF(B
%...f:          $B%U%!%$%kL>(B
%...h:          $B%j%b!<%H%[%9%H(B
%...H           $B%j%/%(%9%H%W%m%H%3%k(B
%...{Foobar}i:  $B%5!<%P$KAw$i$l$?%j%/%(%9%H$N(B Foobar: $B%X%C%@$NFbMF(B
%...l:          ($B$b$7$"$l$P!"(Bidentd $B$+$i$N(B) $B%j%b!<%H%m%0L>(B
%...m           $B%j%/%(%9%H%a%=%C%I(B
%...{Foobar}n:  $BB>$N%b%8%e!<%k$+$i$N%a%b(B "Foobar" $B$NFbMF(B
%...{Foobar}o:  $B1~Ez$N(B Foobar: $B%X%C%@$NFbMF(B
%...p:          $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@5<0$J%]!<%H(B
%...P:          $B%j%/%(%9%H$r07$C$?;R%W%m%;%9$N%W%m%;%9(B ID
%...q           $BLd$$9g$;J8;zNs(B ($BB8:_$9$k>l9g$OA0$K(B ? $B$,DI2C$5$l$k!#$=$&$G$J$$(B
                $B>l9g$O6uJ8;zNs(B)
%...r:          $B%j%/%(%9%H$N:G=i$N9T(B
%...s:          $B%9%F!<%?%9!#FbIt$G%j%@%$%l%/%H$5$l$?%j%/%(%9%H$O!"85!9$N(B
                $B%j%/%(%9%H$N%9%F!<%?%9(B --- $B:G8e$N%9%F!<%?%9$O(B %...&gt;s
%...t:          $B;~9o!#(BCLF $B$N;~9o$N=q<0(B ($BI8=`$N1Q8l$N=q<0(B)
%...{format}t:  format $B$GM?$($i$l$?=q<0$K$h$k;~9o!#(Bformat $B$O(B strftime (3) $B$N(B
                $B=q<0$G$"$kI,MW$,$"$k!#(B($BCO0h2=$5$l$F$$$k2DG=@-$,$"$k(B)
%...T:          $B%j%/%(%9%H$r07$&$N$K$+$+$C$?;~4V!"ICC10L(B
%...u:          $B%j%b!<%H%f!<%6(B (auth $B$K$h$k$b$N!#%9%F!<%?%9(B (%s) $B$,(B 401 $B$N$H$-$O(B
                $B0UL#$,$J$$2DG=@-$,$"$k(B)
%...U:          $B%j%/%(%9%H$5$l$?(B URL $B%Q%9$G!"%/%(%jJ8;zNs$O4^$^$J$$(B
%...v:          $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@5<0$J(B ServerName
%...V:          UseCanonicalName $B$N@_Dj$K$h$k%5!<%PL>(B
</pre>

    <p>"..." $B$O2?$b$J$$$+(B (<em>$BNc$($P(B</em>$B!"(B<code>"%h %u %r %s %b"</code> $B$N$h$&$K(B)$B!"(B
    $B$=$N9`L\$r4^$a$k$+$I$&$+$N>r7o(B ($B$b$7>r7o$K9g$o$J$+$C$?$H$-$O(B
    $B$=$N9`L\$O(B "-" $B$K$J$j$^$9(B) $B$K$9$k$3$H$,$G$-$^$9!#>r7o$N7A<0$O(B
    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
    $B$G$9$+$i!"(B"%400,501{User-agent}i" $B$O(B 400 $B%(%i!<$H(B 501 $B%(%i!<(B
    (Bad Request $B$H(B Not Implemented) $B$N$H$-$N$_(B User-agent: $B$r%m%0<}=8$7$^$9!#(B
    "%!200,304,302{Referer}i" $B$OIaDL$N%9%F!<%?%9$r(B<strong>$BJV$5$J$+$C$?(B</strong>
    $B$9$Y$F$N%j%/%(%9%H$G(B Referer: $B$r%m%0<}=8$7$^$9!#(B</p>

    <p>1.3.25 $B$h$jA0$N%P!<%8%g%s$G$O!"(B<code>%...r</code>, <code>%...i</code>,
    <code>%...o</code> $B$NJ8;zNs$O(B
    $B%(%9%1!<%W$5$l$F$$$J$+$C$?$3$H$K(B
    $BCm0U$7$F$/$@$5$$!#$3$l$O<g$K(B Common Log Format $B$+$i$NMW5a$K$h$k$b$N$G$9!#(B
    $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
    $B@8$N%m%0%U%!%$%k$r07$&$H$-$K$OHs>o$KCm0U$,I,MW$G$7$?!#(B</p>

    <p>$B%;%-%e%j%F%#>e$NM}M3$K$h$j(B 1.3.25 $B$h$j0u;zIT2DG=$JJ8;z$H(B
    $BB>$NFCJL$JJ8;z$O!"$[$H$s$I(B <code>\x<var>hh</var></code> $B$H$$$&(B
    $BJ8;zNs$G%(%9%1!<%W$5$l$k$h$&$K$J$j$^$7$?!#$3$3$G!"(B<var>hh</var> $B$O(B
    $B$=$N$^$^$N%P%$%H$NCM$N(B 16 $B?J$G$NCM$G$9!#$3$N5,B'$NNc30$K$O!"(B
    $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
    C $B7A<0$NI=5-K!$,;H$o$l$k6uGrJ8;z(B (<code>\n</code>, <code>\t</code> $B$J$I(B) $B$,(B
    $B$"$j$^$9!#(B</p>

    <p>$B$h$/;H$o$l$k%U%)!<%^%C%HJ8;zNs$O(B:</p>

    <dl>
    <dt>Common Log Format (CLF)</dt>

    <dd><code>"%h %l %u %t \"%r\" %&gt;s %b"</code></dd>

    <dt>$B%P!<%A%c%k%[%9%HIU$-(B Common Log Format</dt>

    <dd><code>"%v %h %l %u %t \"%r\" %&gt;s %b"</code></dd>

    <dt>NCSA extended/combined $B%m%0=q<0(B</dt>

    <dd><code>"%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\"
    \"%{User-agent}i\""</code></dd>

    <dt>Referer $B%m%0=q<0(B</dt>

    <dd><code>"%{Referer}i -&gt; %U"</code></dd>

    <dt>Agent ($B%V%i%&%6(B) $B%m%0=q<0(B</dt>

    <dd><code>"%{User-agent}i"</code></dd>
    </dl>

    <p><code>%v</code> $B$H(B <code>%p</code> $B$K$O$=$l$>$l!"(B
    $B%j%/%(%9%H$r07$C$F$$$k%5!<%P$N@55,2=$5$l$?(B
    <a href="core.html#servername">ServerName</a> $B$H(B <a
    href="core.html#port">Port</a> $B$,;H$o$l$k$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#(B
    $B$3$l$O(B <a href="core.html#usecanonicalname">UseCanonicalName</a> $B$N(B
    $B@_Dj$K4X$o$i$:!">o$K$=$&$J$j$^$9!#$=$&$7$J$$$H$I$N(B
    $B%[%9%H$,<B:]$K%j%/%(%9%H$r07$C$?$N$+$rCN$k$?$a$K!"(B
    $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
    $B:F<BAu$7$J$1$l$P$J$i$J$/$J$k$+$i$G$9!#(B</p>

    <h2>$B%;%-%e%j%F%#$K4X$7$F(B</h2>

    <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
    $B=q$-9~$_2DG=$J$H$-$K%;%-%e%j%F%#$NLdBj$,H/@8$9$kM}M3$N>\:Y$O(B<a
    href="../misc/security_tips.html#serverroot">$B%;%-%e%j%F%#$N$3$D(B</a>
    $B$r;2>H$7$F$/$@$5$$!#(B</p>

    <h2>$B8_49@-$K4X$7$F(B</h2>

    <ul>
    <li>$B$3$N%b%8%e!<%k$O0JA0$N(B Apache
    $B$N%j%j!<%9$GG[I[$5$l$F$$$?(B mod_log_config
    $B$r4p$K$7$F!"J#?t$N%m%0$r07$($k$h$&$K99?7$5$l$?$b$N$G$9!#(B
    $B@_Dj2DG=$J%m%0$N=q<0$r;H$&$?$a$K(B Apache $B$r%S%k%I(B
    $B$7D>$9I,MW$O$J$/$J$j$^$7$?!#(B</li>

    <li>$B$3$N%b%8%e!<%k$O(B <a
    href="mod_usertrack.html">mod_usertrack</a> $B$K$h$j(B
    $B:n$i$l$?%f!<%6DI@WMQ$N>pJs$N%m%0<}=8$r9T$J$&$?$a$K;H$o$l$F$$$?(B
    <code>CookieLog</code>
    $B%G%#%l%/%F%#%V$b<BAu$7$F$$$^$9!#(B<code>CookieLog</code>
    $B%G%#%l%/%F%#%V$N;HMQ$OHs?d>)$G!"(B
    $B%f!<%6DI@WMQ$N>pJs$b%m%0<}=8$9$k$h$&$K@_Dj$7$?(B
    <code>CustomLog</code> $B$r;H$&$3$H$,?d>)$5$l$F$$$^$9!#(B</li>

    <li>Apache 1.3.5 $B$N;~E@$G!"$3$N%b%8%e!<%k$O(B <a
    href="../env.html">$B4D6-JQ?t(B</a>
    $B$N@_Dj$K4p$E$$$F>r7oIU$-%m%.%s%0$,$G$-$k$h$&$K$J$j$^$7$?!#$9$J$o$A!"(B
    $B%j%/%(%9%H$,%m%0<}=8$5$l$k$+$I$&$+$rG$0U$N4D6-JQ?t$,Dj5A$5$l$F$$$k$+(B
    $B$I$&$+$K$h$jJQ99$9$k$3$H$,$G$-$k$H$$$&$3$H$G$9!#$3$l$O(B
    $B%m%0%U%!%$%k$4$H$K@_Dj2DG=$G$9!#(B</li>

    <li>Apache 1.3.5 $B$+$i!"(Bmod_log_config $B%b%8%e!<%k$O(B <a
    href="mod_log_referer.html">mod_log_referer</a> $B$N(B
    <code>RefererIgnore</code> $B5!G=$b4^$`$h$&$K$J$j$^$7$?!#(B
    <code>RefererIgnore</code> $B$N8z2L$O(B <a
    href="mod_setenvif.html"><code>SetEnvIf</code></a>
    $B%G%#%l%/%F%#%V$H(B <code>CustomLog</code>
    $B$N>r7oIU$-$N@_Dj$K$h$jC#@.$G$-$^$9!#(B</li>
    </ul>

    <hr />
    <h2><a id="cookielog" name="cookielog">CookieLog</a>
    $B%G%#%l%/%F%#%V(B</h2>

    <p><a href="directive-dict.html#Syntax"
    rel="Help"><strong>$B9=J8(B:</strong></a> CookieLog
    <em>filename</em><br />
    <a href="directive-dict.html#Context"
    rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a>
    $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br />
    <a href="directive-dict.html#Module"
    rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_cookies<br />
    <a href="directive-dict.html#Compatibility"
    rel="Help"><strong>$B8_49@-(B:</strong></a> Apache 1.2
    $B0J9_$G$N$_;HMQ2DG=(B</p>

    <p>CookieLog
    $B%G%#%l%/%F%#%V$O%/%C%-!<$N%m%.%s%0$N$?$a$N%U%!%$%kL>$r(B
    $B@_Dj$7$^$9!#(Bfilename $B$O(B <a
    href="core.html#serverroot">ServerRoot</a>
    $B$+$i$NAjBP%Q%9$G$9!#$3$N%G%#%l%/%F%#%V$O(B <a
    href="mod_cookies.html">mod_cookies</a> $B$H$N8_49@-$N$?$a$@$1$K(B
    $BB8:_$7!";HMQ$O?d>)$5$l$F$$$^$;$s!#(B</p>

    <hr />
    <h2><a id="customlog" name="customlog">CustomLog</a> <a
    id="customlog-conditional"
    name="customlog-conditional">$B%G%#%l%/%F%#%V(B</a></h2>

    <p><a href="directive-dict.html#Syntax"
    rel="Help"><strong>$B9=J8(B:</strong></a> CustomLog
    <em>file</em>|<em>pipe</em> <em>format</em>|<em>nickname</em>
    [env=[!]<em>environment-variable</em>]<br />
    <a href="directive-dict.html#Context"
    rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a>
    $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br />
    <a href="directive-dict.html#Status"
    rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br />
    <a href="directive-dict.html#Compatibility"
    rel="Help"><strong>$B8_49@-(B:</strong></a> Nickname $B$O(B Apache
    1.3 $B0J9_$G$N$_;HMQ2DG=!#(B $B>r7oIU$-%m%.%s%0$O(B 1.3.5
    $B0J9_$G;HMQ2DG=!#(B<br />
    <a href="directive-dict.html#Module"
    rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p>

    <p><code>CustomLog</code> $B%G%#%l%/%F%#%V$O%5!<%P$X$N%j%/%(%9%H$r(B
    $B%m%0<}=8$9$k$?$a$K;H$o$l$^$9!#%m%0$N=q<0$,;XDj$5$l!"(B
    $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>

    <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
    $B$H$k$3$H$,$G$-$^$9(B:</p>

    <dl>
    <dt><em>file</em></dt>

    <dd><a href="core.html#serverroot">ServerRoot</a>
    $B$+$i$NAjBP%Q%9$GI=$5$l$k%U%!%$%kL>!#(B</dd>

    <dt><em>pipe</em></dt>

    <dd>$B%Q%$%WJ8;z(B "<code>|</code>" $B$H!"$=$N8e$KI8=`F~NO$+$i%m%0$N(B
    $B>pJs$r<u$1$H$k%W%m%0%i%`$X$N%Q%9$,B3$$$?$b$N!#(B
    <strong>$B%;%-%e%j%F%#(B:</strong> $B$b$7%W%m%0%i%`$,;HMQ$5$l$?>l9g!"(B
    httpd $B$,5/F0$5$l$?%f!<%6$H$7$F<B9T$5$l$^$9!#$3$l$O%5!<%P$,(B
    root $B$K$h$C$F5/F0$5$l$?>l9g$O(B root $B$K$J$j$^$9!#%W%m%0%i%`$,(B
    $B0BA4$G$"$k$h$&$KN10U$7$F$/$@$5$$!#(B</dd>
    </dl>

    <p>$BFs$D$a$N0z?t$O%m%0%U%!%$%k$K2?$,=q$+$l$k$+$r;XDj$7$^$9!#(B
    $BA0$K$"$k(B <a href="#logformat">LogFormat</a> $B%G%#%l%/%F%#%V$K$h$j(B
    $BDj5A$5$l$?(B <em>$B%K%C%/%M!<%`(B</em> $B$+!"(B<a href="#formats">$B%m%0$N=q<0(B</a>
    $B$N$H$3$m$G@bL@$5$l$F$$$k!"L@<(E*$J(B<em>$B%U%)!<%^%C%H(B</em>$BJ8;zNs$N(B
    $B$I$A$i$+$r;XDj$9$k$3$H$,$G$-$^$9!#(B</p>

    <p>$BNc$($P!"0J2<$NFs$D$N%G%#%l%/%F%#%V72$OA4$/F1$88z2L$r$b$?$i$7$^$9(B:</p>

<pre>
     # CustomLog with format nickname
     LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common
     CustomLog logs/access_log common

     # CustomLog with explicit format string
     CustomLog logs/access_log "%h %l %u %t \"%r\" %&gt;s %b"
</pre>

    <p>$B;0$DL\$N0z?t$O>JN,2DG=$G!"%5!<%P$N4D6-$K$"$kJQ?t$,$"$k$+$J$$$+$K(B
    $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
    $B;XDj$5$l$?(B<a href="../env.html">$B4D6-JQ?t(B</a>$B$,%j%/%(%9%H$KBP$7$F(B
    $B@_Dj$5$l$F$$$?>l9g(B ('<code>env=!<em>name</em></code>' $BJ8$,;H$o$l$?$H$-$O(B
    $B@_Dj$5$l$F$$$J$$>l9g(B)$B!"%j%/%(%9%H$,%m%0<}=8$5$l$^$9!#(B</p>

    <p>$B4D6-JQ?t$O(B <a href="mod_setenvif.html">mod_setenvif</a> $B%b%8%e!<%k$H(B
    <a href="mod_rewrite.html">mod_rewrite</a> $B%b%8%e!<%k$NN>J}$b$7$/$O(B
    $BJRJ}$rMQ$$$F%j%/%(%9%H$4$H$K@_Dj$9$k$3$H$,$G$-$^$9!#(B
    $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
    $B$K$O5-O?$7$?$$$1$l$I!"%a%$%s%m%0$K$O5-O?$7$?$/$J$$!"$H$$$&$H$-$O(B
    $B0J2<$N$b$N$r;H$&$3$H$,$G$-$^$9(B:</p>

<pre>
    SetEnvIf Request_URI \.gif$ gif-image
    CustomLog gif-requests.log common env=gif-image
    CustomLog nongif-requests.log common env=!gif-image
</pre>

    <hr />
    <h2><a id="logformat" name="logformat">LogFormat</a>
    $B%G%#%l%/%F%#%V(B</h2>

    <p><a href="directive-dict.html#Syntax"
    rel="Help"><strong>$B9=J8(B:</strong></a> LogFormat
    <em>format</em>|<em>nickname</em> [<em>nickname</em>]<br />
    <a href="directive-dict.html#Default"
    rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> <code>LogFormat "%h
    %l %u %t \"%r\" %&gt;s %b"</code><br />
    <a href="directive-dict.html#Context"
    rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a>
    $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br />
    <a href="directive-dict.html#Status"
    rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br />
    <a href="directive-dict.html#Compatibility"
    rel="Help"><strong>$B8_49@-(B:</strong></a> $B%K%C%/%M!<%`$O(B
    Apache 1.3 $B0J9_$G$N$_;HMQ2DG=(B<br />
    <a href="directive-dict.html#Module"
    rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p>

    <p>$B$3$N%G%#%l%/%F%#%V$O%"%/%;%9%m%0%U%!%$%k$N=q<0$r;XDj$7$^$9!#(B</p>

    <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$OFs$D$N7A<0$N$I$A$i$+$r(B
    $B$H$k$3$H$,$G$-$^$9!#:G=i$N7A<0$G$O0l$D$N0z?t$N$_$,;XDj$5$l!"(B
    $BB3$/(B <a href="#transferlog">TransferLog</a>
    $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
    $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
    <em>$B%U%)!<%^%C%H(B</em>$B$rL@<(E*$K;XDj$9$k$3$H$,$G$-$^$9!#(B
    $B$b$7$/$O!"2<$G@bL@$5$l$F$$$k$h$&$KA0$K(B <code>LogFormat</code>
    $B%G%#%l%/%F%#%V$GDj5A$5$l$?%m%0$N=q<0$r(B<em>$B%K%C%/%M!<%`(B</em>$B$r;H$C$F(B
    $B;2>H$9$k$3$H$b$G$-$^$9!#(B</p>

    <p><code>LogFormat</code> $B%G%#%l%/%F%#%V$NFs$D$a$N7A<0$O(B
    <em>$B%U%)!<%^%C%H(B</em>$B$K(B<em>$B%K%C%/%M!<%`(B</em>$B$rM?$($^$9!#(B
    $B%U%)!<%^%C%HJ8;zNsA4BN$r:F$S=q$/$+$o$j$K!"(B
    $B$3$N(B<em>$B%K%C%/%M!<%`(B</em>$B$rB3$-$N(B <code>LogFormat</code> $B%G%#%l%/%F%#%V$d(B
    <a href="#customlog">CustomLog</a> $B%G%#%l%/%F%#%V$G;H$&$3$H$,$G$-$^$9!#(B
    $B%K%C%/%M!<%`$rDj5A$9$k(B <samp>LogFormat</samp> $B%G%#%l%/%F%#%V$O(B
    <strong>$BB>$K$O2?$b$7$^$;$s(B</strong> -- $B$9$J$o$A!"%K%C%/%M!<%`$rDj5A(B
    $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
    $B$G$9$+$i!"$3$l$OB3$/(B <a href="#transferlog">TransferLog</a>
    $B%G%#%l%/%F%#%V$K$O1F6A$rM?$($^$;$s!#(B</p>


	<p>$BNc(B:</p>

	<code>LogFormat "%v %h %l %u %t \"%r\" %&gt;s %b" vhost_common</code>

    <hr />
    <h2><a id="transferlog"
    name="transferlog">TransferLog</a>$B%G%#%l%/%F%#%V(B</h2>

    <p><a href="directive-dict.html#Syntax"
    rel="Help"><strong>$B9=J8(B:</strong></a> TransferLog
    <em>file</em>|<em>pipe</em><br />
    <a href="directive-dict.html#Default"
    rel="Help"><strong>$B%G%U%)%k%H(B:</strong></a> none<br />
    <a href="directive-dict.html#Context"
    rel="Help"><strong>$B%3%s%F%-%9%H(B:</strong></a>
    $B%5!<%P@_Dj%U%!%$%k!"%P!<%A%c%k%[%9%H(B<br />
    <a href="directive-dict.html#Status"
    rel="Help"><strong>$B%9%F!<%?%9(B:</strong></a> Base<br />
    <a href="directive-dict.html#Module"
    rel="Help"><strong>$B%b%8%e!<%k(B:</strong></a> mod_log_config</p>

    <p>$B$3$N%G%#%l%/%F%#%V$O!"%m%0=q<0$rD>@\;XDj$G$-$J$$$3$H$H!"(B
    $B>r7oIU$-%m%.%s%0$,L5$$$3$H$r=|$/$H!"(B<a
    href="#customlog">CustomLog</a> $B$HA4$/F1$80z?t$H8z2L$,$"$j$^$9!#(B
    $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
    $B%K%C%/%M!<%`$rDj5A$7$J$$(B
    <a href="#logformat">LogFormat</a> $B%G%#%l%/%F%#%V(B
    $B$GDj5A$5$l$?$b$N$r;H$$$^$9!#(B
    $B$b$7B>$N=q<0$,A4$/;XDj$5$l$F$$$J$$$H$-$O(B Common Log Format
    $B$,;H$o$l$^$9!#(B</p>

    <p>$BNc(B:</p>

<pre>
   LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-agent}i\""
   TransferLog logs/access_log
</pre>

        <hr />

    <h3 align="CENTER">Apache HTTP Server Version 1.3</h3>
    <a href="./"><img src="../images/index.gif" alt="Index" /></a>
    <a href="../"><img src="../images/home.gif" alt="Home" /></a>

  </body>
</html>