1<?xml version="1.0" encoding="EUC-KR"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
4        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5              This file is generated from xml source: DO NOT EDIT
6        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7      -->
8<title>mod_log_config - Apache HTTP Server</title>
9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
12<script src="/style/scripts/prettify.js" type="text/javascript">
13</script>
14
15<link href="/images/favicon.ico" rel="shortcut icon" /></head>
16<body>
17<div id="page-header">
18<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p>
19<p class="apache">Apache HTTP Server Version 2.2</p>
20<img alt="" src="/images/feather.gif" /></div>
21<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
22<div id="path">
23<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.2</a> &gt; <a href="./">���</a></div>
24<div id="page-content">
25<div id="preamble"><h1>����ġ ��� mod_log_config</h1>
26<div class="toplang">
27<p><span>������ ���: </span><a href="/en/mod/mod_log_config.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
28<a href="/ja/mod/mod_log_config.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
29<a href="/ko/mod/mod_log_config.html" title="Korean">&nbsp;ko&nbsp;</a> |
30<a href="/tr/mod/mod_log_config.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
31</div>
32<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�.
33            �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div>
34<table class="module"><tr><th><a href="module-dict.html#Description">����:</a></th><td>�������� ��û�� �α׿� ����Ѵ�</td></tr>
35<tr><th><a href="module-dict.html#Status">����:</a></th><td>Base</td></tr>
36<tr><th><a href="module-dict.html#ModuleIdentifier">����:</a></th><td>log_config_module</td></tr>
37<tr><th><a href="module-dict.html#SourceFile">�ҽ�����:</a></th><td>mod_log_config.c</td></tr></table>
38<h3>���</h3>
39
40    <p>�� ����� Ŭ���̾�Ʈ�� ��û�� �α׿� �����Ӱ� ����Ѵ�.
41    �ڽ��� ���ϴ� ������� �α׸� ����� �� �ְ�, �����̳� �ܺ�
42    ���α׷��� ���� �α׸� ���� ���� �ִ�. ������ �α׸� ����ϸ�
43    ��û�� ���ݿ� ��� ��û�� �α׿� �߰��ϰų� ������ �� �ִ�.</p>
44
45    <p>�� ����� ������ ���þ �����Ѵ�. <code class="directive"><a href="#transferlog">TransferLog</a></code>�� �α�������
46    �����, <code class="directive"><a href="#logformat">LogFormat</a></code>��
47    ���ϴ� ����� ���ϰ�, <code class="directive"><a href="#customlog">CustomLog</a></code>�� �ѹ� �α����ϰ�
48    ����� ��� �����Ѵ�. <code class="directive">TransferLog</code>��
49    <code class="directive">CustomLog</code> ���þ ������ ����ϸ�
50    ��û�� ���� ���Ͽ� ����� �� �ִ�.</p>
51</div>
52<div id="quickview"><h3 class="directives">���þ��</h3>
53<ul id="toc">
54<li><img alt="" src="/images/down.gif" /> <a href="#bufferedlogs">BufferedLogs</a></li>
55<li><img alt="" src="/images/down.gif" /> <a href="#cookielog">CookieLog</a></li>
56<li><img alt="" src="/images/down.gif" /> <a href="#customlog">CustomLog</a></li>
57<li><img alt="" src="/images/down.gif" /> <a href="#logformat">LogFormat</a></li>
58<li><img alt="" src="/images/down.gif" /> <a href="#transferlog">TransferLog</a></li>
59</ul>
60<h3>����</h3>
61<ul id="topics">
62<li><img alt="" src="/images/down.gif" /> <a href="#formats">�α� ��� �����ϱ�</a></li>
63<li><img alt="" src="/images/down.gif" /> <a href="#security">���Ȼ� ����� ��</a></li>
64</ul><h3>���</h3>
65<ul class="seealso">
66<li><a href="/logs.html">����ġ �α�����</a></li>
67</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
68<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
69<div class="section">
70<h2><a name="formats" id="formats">�α� ��� �����ϱ�</a></h2>
71
72    <p><code class="directive"><a href="#logformat">LogFormat</a></code>��
73    <code class="directive"><a href="#customlog">CustomLog</a></code>
74    ���þ��� ��� �ƱԸ�Ʈ�� ���ڿ��̴�. �� ���ڿ��� ��� ��û��
75    �α����Ͽ� ����Ѵ�. ���ڿ����� �α����Ͽ� �״�� ����Ǵ�
76    ���ڿ� ��ٲް� ���� ��Ÿ���� C�� "\n"�� "\t" ����ڸ�
77    ����� �� �ִ�. �α����Ͽ� ���ǥ�� �齽������ ������ �տ�
78    �ݵ�� �齽������ ������ �Ѵ�.</p>
79
80    <p>��û�� Ư¡�� ��� ���ڿ��� "<code>%</code>" ���þ
81    ����Ͽ� ����Ѵ�. �� ���þ�� �α����Ͽ��� ������ ����
82    ����ȴ�.</p>
83
84    <table class="bordered"><tr class="header"><th>���&nbsp;���ڿ�</th>
85        <th>����</th></tr>
86<tr><td><code>%%</code></td>
87        <td>�ۼ�Ʈ ��ȣ</td></tr>
88<tr class="odd"><td><code>%...a</code></td>
89        <td>��� IP-�ּ�</td></tr>
90<tr><td><code>%...A</code></td>
91        <td>(����) IP-�ּ�</td></tr>
92<tr class="odd"><td><code>%...B</code></td>
93        <td>HTTP ����� ������ ��� ����Ʈ��.</td></tr>
94<tr><td><code>%...b</code></td>
95        <td>HTTP ����� ������ ��� ����Ʈ��. CLF ��İ� ����
96        ����� ������ ��� ��� 0 ��� '<code>-</code>'�� ���´�.</td></tr>
97<tr class="odd"><td><code>%...{<var>Foobar</var>}C</code></td>
98        <td>������ ������ ��û���� <var>Foobar</var> ��Ű��
99        ����.</td></tr>
100<tr><td><code>%...D</code></td>
101        <td>��û�� ó���ϴµ� �ɸ� �ð� (����ũ���� ����).</td></tr>
102<tr class="odd"><td><code>%...{<var>FOOBAR</var>}e</code></td>
103        <td>ȯ�溯�� <var>FOOBAR</var>�� ����</td></tr>
104<tr><td><code>%...f</code></td>
105        <td>���ϸ�</td></tr>
106<tr class="odd"><td><code>%...h</code></td>
107        <td>��� ȣ��Ʈ</td></tr>
108<tr><td><code>%...H</code></td>
109        <td>��û ��������</td></tr>
110<tr class="odd"><td><code>%...{<var>Foobar</var>}i</code></td>
111        <td>������ ������ ��û���� <code><var>Foobar</var>:</code>
112        ����� ����.</td></tr>
113<tr><td><code>%...l</code></td>
114        <td>(�ִٸ� identd�� ������) ��� �α��θ�.
115        <code class="module"><a href="/mod/mod_ident.html">mod_ident</a></code>�� �ְ� <code class="directive"><a href="/mod/mod_ident.html#identitycheck">IdentityCheck</a></code>��
116        <code>On</code>�� �ƴϸ� �����ȣ�� ����Ѵ�.</td></tr>
117<tr class="odd"><td><code>%...m</code></td>
118        <td>��û �޽��</td></tr>
119<tr><td><code>%...{<var>Foobar</var>}n</code></td>
120        <td>�ٸ� ����� ����� <var>Foobar</var> ��Ʈ(note)
121        ����.</td></tr>
122<tr class="odd"><td><code>%...{<var>Foobar</var>}o</code></td>
123        <td>������ <code><var>Foobar</var>:</code> ��� ����.</td></tr>
124<tr><td><code>%...p</code></td>
125        <td>��û�� �����ϴ� ������ ���� ��Ʈ</td></tr>
126<tr class="odd"><td><code>%...P</code></td>
127        <td>��û�� �����ϴ� �ڽ��� ���μ��� ID.</td></tr>
128<tr><td><code>%...{<var>format</var>}P</code></td>
129        <td>��û�� �����ϴ� �ڽ��� ���μ��� ID Ȥ�� ������
130        ID. format���� <code>pid</code>�� <code>tid</code>��
131        �����ϴ�.
132        </td></tr>
133<tr class="odd"><td><code>%...q</code></td>
134        <td>���ǹ��ڿ� (���ǹ��ڿ��� �ִٸ� �տ� <code>?</code>��
135        ���̰�, ��ٸ� �� ���ڿ�)</td></tr>
136<tr><td><code>%...r</code></td>
137        <td>��û�� ù��° ��</td></tr>
138<tr class="odd"><td><code>%...s</code></td>
139        <td>����(status). ���� �����̷��ǵ� ��û�� ��� *��*
140        ��û�� �����̴�. ���� ��û�� ���´� <code>%...&gt;s</code>.</td></tr>
141<tr><td><code>%...t</code></td>
142        <td>common log format �ð� ���(ǥ�� ���� ���)�� �ð�</td></tr>
143<tr class="odd"><td><code>%...{<var>format</var>}t</code></td>
144        <td><code>strftime(3)</code> ��� format�� �ð�. (�����ð���
145        �� ����)</td></tr>
146<tr><td><code>%...T</code></td>
147        <td>��û�� ó���ϴµ� �ɸ� �ð� (�� ����).</td></tr>
148<tr class="odd"><td><code>%...u</code></td>
149        <td>��� ����� (auth�� �����ϸ�, ����(<code>%s</code>)��
150        401�� ��� �̻��� ���� ���� �� ����)</td></tr>
151<tr><td><code>%...U</code></td>
152        <td>���ǹ��ڿ��� ������ ��û URL ���.</td></tr>
153<tr class="odd"><td><code>%...v</code></td>
154        <td>��û�� ������ ������ ���� <code class="directive"><a href="/mod/core.html#servername">ServerName</a></code>.</td></tr>
155<tr><td><code>%...V</code></td>
156        <td><code class="directive"><a href="/mod/core.html#usecanonicalname">UseCanonicalName</a></code>
157        ������ �� ������.</td></tr>
158<tr class="odd"><td><code>%...X</code></td>
159        <td>������ �������� ���� ����.
160
161        <table>
162        
163        <tr><td><code>X</code> =</td>
164            <td>������ ��ġ�� �� ������ ��������.</td></tr>
165        <tr><td><code>+</code> =</td>
166            <td>������ �����Ŀ��� ������ ����ִ�(keep alive).</td></tr>
167        <tr><td><code>-</code> = </td>
168            <td>������ ������ ������ ��������.</td></tr>
169        </table>
170
171        <p>(����ġ 1.3 �Ĺ� ���� �� ���þ��
172        <code>%...c</code>������, �������� ssl
173        <code>%...{<var>var</var>}c</code> ����� ���ļ�
174        �����ߴ�.)</p></td></tr>
175<tr><td><code>%...I</code></td>
176        <td>��û�� ����� ������ ���� ����Ʈ���� 0�� �� ���.
177        �̸� ����Ϸ��� <code class="module"><a href="/mod/mod_logio.html">mod_logio</a></code>�� �ʿ��ϴ�.</td></tr>
178<tr class="odd"><td><code>%...O</code></td>
179        <td>����� ������ �۽� ����Ʈ���� 0�� �� ���. �̸�
180        ����Ϸ��� <code class="module"><a href="/mod/mod_logio.html">mod_logio</a></code>�� �ʿ��ϴ�.</td></tr>
181</table>
182
183    <p>"<var>...</var>"���� (<em>���� ���</em>,
184    <code>"%h %u %r %s %b"</code>) �ƹ��͵� ��ų�, �׸��� ������
185    ������ ���´� (������ �������� ������ �ڸ��� "-"�� ����Ѵ�).
186    ������ �տ� "!"�� ���̰ų� �Ⱥ��� HTTP �����ڵ� �������
187    �ۼ��Ѵ�. ���� ���, "%400,501{User-agent}i"�� 400 (Bad
188    Request) ����� 501 (Not Implemented) �����϶���
189    <code>User-agent:</code>�� �α׿� �����,
190    "%!200,304,302{Referer}i"�� �������� ���°� <em>�ƴ�</em>
191    ��� ��û�� ���� <code>Referer:</code>�� �α׿� �����.</p>
192
193    <p>������ "&lt;"�� "&gt;"�� ���� �����̷��ǵ� ��û���� ����
194    ó�� ��û�� ������ ������ ��û�� ������ �����Ѵ�. �⺻������
195    <code>%s, %U, %T, %D, %r</code>�� ó�� ��û�� ����, ������
196    <code>%</code> ���þ�� ������ ��û�� ����. �׷���
197    <code>%&gt;s</code>�� ��û�� ������ ����(status)�� ����ϰ�,
198    <code>%&lt;u</code>�� �������� ��ȣ���� �ʴ� �ڿ����� ����
199    ����̷��ǵ� ��쿡�� ó���� ������ ����ڸ� ����Ѵ�.</p>
200
201    <p>2.0.46 ������ httpd 2.0 ������ <code>%...r</code>,
202    <code>%...i</code>, <code>%...o</code>�� ��� ���ڿ��� �״��
203    �ξ��. ������ Common Log Format�� �䱸������ ������ؼ�����.
204    ��, Ŭ���̾�Ʈ�� ����ڸ� �α׿� ������ �� �ֱ⶧����
205    �α������� �״�� �ٷ� ���� �����ؾ� �Ѵ�.</p>
206
207    <p>���Ȼ� ������ 2.0.46���� ����� �� ��� ���ڳ� �ٸ� Ư�����ڸ�
208    <code>\x<var>hh</var></code>�� ǥ���Ѵ�. ���⼭ <var>hh</var>��
209    �ش� ����Ʈ�� 16��� ǥ���� ��Ÿ����. �� ��Ģ�� ���ܴ� �齽������
210    �տ� ���̴� <code>"</code>�� <code>\</code>, �׸��� C���
211    ����� ��鹮�ڵ�(<code>\n</code>, <code>\t</code> ��)�̴�.</p>
212
213    <p>�Ϲ������� ���� ����ϴ� �α� ����� ������ ����.</p>
214
215    <dl>
216      <dt>Common Log Format (CLF)</dt>
217      <dd><code>"%h %l %u %t \"%r\" %&gt;s %b"</code></dd>
218
219      <dt>����ȣ��Ʈ ������ ������ Common Log Format</dt>
220      <dd><code>"%v %h %l %u %t \"%r\" %&gt;s %b"</code></dd>
221
222      <dt>NCSA extended/combined �α� ���</dt>
223      <dd><code>"%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\"
224      \"%{User-agent}i\""</code></dd>
225
226      <dt>Referer �α� ���</dt>
227      <dd><code>"%{Referer}i -&gt; %U"</code></dd>
228
229      <dt>Agent (������) �α� ���</dt>
230      <dd><code>"%{User-agent}i"</code></dd>
231    </dl>
232
233    <p>��û�� �����ϴ� ������ ���� <code class="directive"><a href="/mod/core.html#servername">ServerName</a></code>�� <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code>�� ���� <code>%v</code>��
234    <code>%p</code>�� ����Ѵ�. �α׺м� ���α׷��� ������ ��û��
235    �����ϴ� ȣ��Ʈ�� �˱����� ����ȣ��Ʈ ã�� �˰�����
236    ���� �ʿ��� �̵� ���� <code class="directive"><a href="/mod/core.html#usecanonicalname">UseCanonicalName</a></code> ������ �����ϴ�.</p>
237</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
238<div class="section">
239<h2><a name="security" id="security">���Ȼ� ����� ��</a></h2>
240    <p>������ �����ϴ� ����ڿܿ� �ٸ� ����ڰ� �α������� �����ϴ�
241    ���丮�� ���� ������ ���� �� ���ȿ� ������ ������
242    <a href="/misc/security_tips.html#serverroot">���� ��</a>
243    ������ ����϶�.</p>
244</div>
245<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
246<div class="directive-section"><h2><a name="BufferedLogs" id="BufferedLogs">BufferedLogs</a> <a name="bufferedlogs" id="bufferedlogs">���þ�</a></h2>
247<table class="directive">
248<tr><th><a href="directive-dict.html#Description">����:</a></th><td>Buffer log entries in memory before writing to disk</td></tr>
249<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>BufferedLogs On|Off</code></td></tr>
250<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>BufferedLogs Off</code></td></tr>
251<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������</td></tr>
252<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr>
253<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_log_config</td></tr>
254<tr><th><a href="directive-dict.html#Compatibility">����:</a></th><td>Available in versions 2.0.41 and later.</td></tr>
255</table><p>The documentation for this directive has
256            not been translated yet. Please have a look at the English
257            version.</p></div>
258<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
259<div class="directive-section"><h2><a name="CookieLog" id="CookieLog">CookieLog</a> <a name="cookielog" id="cookielog">���þ�</a></h2>
260<table class="directive">
261<tr><th><a href="directive-dict.html#Description">����:</a></th><td>��Ű�� �α׿� ��������� ����� ���ϸ��� �����Ѵ�</td></tr>
262<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>CookieLog <var>filename</var></code></td></tr>
263<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ</td></tr>
264<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr>
265<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_log_config</td></tr>
266<tr><th><a href="directive-dict.html#Compatibility">����:</a></th><td>�� ���þ�� ������ �ʴ´�.</td></tr>
267</table>
268    <p><code class="directive">CookieLog</code> ���þ�� ��Ű�� �α׿�
269    ��������� ����� ���ϸ��� �����Ѵ�. ���ϸ��� <code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code>�� ������̴�. ��
270    ���þ�� <code>mod_cookies</code>�� ȣȯ�� ���� ����������,
271    ���� ������ �ʴ´�.</p>
272
273</div>
274<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
275<div class="directive-section"><h2><a name="CustomLog" id="CustomLog">CustomLog</a> <a name="customlog" id="customlog">���þ�</a></h2>
276<table class="directive">
277<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�α����� �̸��� ����� �����Ѵ�</td></tr>
278<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>CustomLog  <var>file</var>|<var>pipe</var>
279<var>format</var>|<var>nickname</var>
280[env=[!]<var>environment-variable</var>]</code></td></tr>
281<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ</td></tr>
282<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr>
283<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_log_config</td></tr>
284</table>
285    <p>������ ��û�� �α׿� ���涧 <code class="directive">CustomLog</code>
286    ���þ ����Ѵ�. �α� ����� �����ϰ�, ȯ�溯���� ����Ͽ�
287    ��û�� Ư¡�� ��� ���������� �α׸� ���� ���� �ִ�.</p>
288
289    <p>�α׸� ����� ��Ҹ� �����ϴ� ù��° �ƱԸ�Ʈ���� ����
290    ���� �ϳ��� ����Ѵ�.</p>
291
292    <dl>
293      <dt><var>file</var></dt>
294      <dd><code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code>��
295      ������� ���ϸ�.</dd>
296
297      <dt><var>pipe</var></dt>
298      <dd>���������� "<code>|</code>"�ڿ� �α� ������ ǥ���Է�����
299      ���� ���α׷� ��θ� ��´�.
300
301      <div class="warning"><h3>����:</h3>
302      <p>���α׷��� ����Ѵٸ� ���α׷��� �������� ������ �����
303      �������� ����ȴ�. ������ root�� �����Ѵٸ� ���α׷���
304      root�� �����ϹǷ� ���α׷��� �������� Ȯ���϶�.</p>
305      </div>
306      <div class="warning"><h3>����</h3>
307        <p>���н��� �ƴ� �÷��� ���ϰ�θ� �Է��Ҷ� �÷�����
308        �齽������ ����ϴ��� �ݵ�� �������� ����ؾ� �Ѵ�.
309        �Ϲ������� �������Ͽ����� �׻� �������� ����ϴ� ����
310        ����.</p>
311      </div></dd>
312    </dl>
313
314    <p>�ι�° �ƱԸ�Ʈ�� �α����Ͽ� ����� ������ �����Ѵ�.
315    �� <code class="directive"><a href="#logformat">LogFormat</a></code>����
316    ������ <var>nickname</var>�� ����ϰų� ���� <a href="#formats">�α� ���</a> �� ������ <var>format</var>
317    ���ڿ��� ����� �� �ִ�.</p>
318
319    <p>���� ���, ���� �� ���þ�� �Ȱ��� ���� �Ѵ�.</p>
320
321    <div class="example"><p><code>
322      # ��� ��Ī�� ����� CustomLog<br />
323      LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common<br />
324      CustomLog logs/access_log common<br />
325      <br />
326      # ���� ��� ���ڿ��� ����� CustomLog<br />
327      CustomLog logs/access_log "%h %l %u %t \"%r\" %&gt;s %b"
328    </code></p></div>
329
330    <p>����° �ƱԸ�Ʈ�� �� �Ǹ�, Ư�� ���� ȯ�溯�� ������
331    ��� ��û�� �α׿� ������� ���θ� �����Ѵ�. ��û�� ������
332    <a href="/env.html">ȯ�溯��</a>�� ���ǵ��ִٸ� (Ȥ��
333    '<code>env=!<var>name</var></code>'�� ����� ��� ��ٸ�)
334    ��û�� �α׿� ����Ѵ�.</p>
335
336    <p><code class="module"><a href="/mod/mod_setenvif.html">mod_setenvif</a></code>�� <code class="module"><a href="/mod/mod_rewrite.html">mod_rewrite</a></code>
337    ����� ����Ͽ� ��û���� ȯ�溯���� ������ �� �ִ�. ����
338    ���, ������ GIF �׸��� ���� ��� ��û�� �ּ��� �αװ� �ƴ�
339    �ٸ� �α����Ͽ� ����Ϸ���,</p>
340    
341    <div class="example"><p><code>
342      SetEnvIf Request_URI \.gif$ gif-image<br />
343      CustomLog gif-requests.log common env=gif-image<br />
344      CustomLog nongif-requests.log common env=!gif-image
345    </code></p></div>
346
347</div>
348<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
349<div class="directive-section"><h2><a name="LogFormat" id="LogFormat">LogFormat</a> <a name="logformat" id="logformat">���þ�</a></h2>
350<table class="directive">
351<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�α����Ͽ� ����� ����� ����Ѵ�</td></tr>
352<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>LogFormat <var>format</var>|<var>nickname</var>
353[<var>nickname</var>]</code></td></tr>
354<tr><th><a href="directive-dict.html#Default">�⺻��:</a></th><td><code>LogFormat "%h %l %u %t \"%r\" %&gt;s %b"</code></td></tr>
355<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ</td></tr>
356<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr>
357<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_log_config</td></tr>
358</table>
359    <p>�� ���þ�� ���� �α������� ����� �����Ѵ�.</p>
360
361    <p><code class="directive">LogFormat</code> ���þ�� �ΰ��� �������
362    ����Ѵ�. ù��° ����� �ƱԸ�Ʈ�� �Ѱ��� ����Ͽ� ����
363    <code class="directive">TransferLog</code> ���þ���� ����� �α�
364    ����� �����Ѵ�. �� �ƱԸ�Ʈ�� ���� <a href="#formats">�α�
365    ��� �����ϱ�</a> �� ������ <var>format</var>�� ����
366    ����ϰų�, ������ ������ <code class="directive">LogFormat</code>
367    ���þ�� �̸� ������ (�α� ����� ��Ī�ϴ�) <var>nickname</var>��
368    ����� �� �ִ�.</p>
369
370    <p><code class="directive">LogFormat</code> ���þ��� �ι�° �����
371    <var>format</var>�� <var>nickname</var>�� �����Ѵ�. �׷���
372    �ڿ��� ����ϴ� <code class="directive">LogFormat</code>�̳� <code class="directive"><a href="#customlog">CustomLog</a></code> ���þ �ݺ��ؼ�
373    ��� ���ڿ��� ��� �Է��ϴ� ��� <var>nickname</var>�� �����
374    �� �ִ�. ��Ī�� �����ϴ� <code class="directive">LogFormat</code>
375    ���þ�� <strong>�� �ܿ��� �ƹ� ����� ���� �ʴ´�</strong>.
376    ��, ��Ī<em>��</em>�� �����ϸ�, ������ ����� ����ϰų�
377    ����� �⺻������ ������ �ʴ´�. �׷��Ƿ� ������ ������
378    <code class="directive"><a href="#transferlog">TransferLog</a></code>
379    ���þ ������ ���� �ʴ´�. ��,
380    <code class="directive">LogFormat</code>�� ��Ī���� �ٸ� ��Ī��
381    ������ �� �ִ�. ��Ī �̸����� �ۼ�Ʈ ��ȣ(<code>%</code>)��
382    ����� �� ������ �����϶�.</p>
383
384    <div class="example"><h3>����</h3><p><code>
385      LogFormat "%v %h %l %u %t \"%r\" %&gt;s %b" vhost_common
386    </code></p></div>
387
388</div>
389<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
390<div class="directive-section"><h2><a name="TransferLog" id="TransferLog">TransferLog</a> <a name="transferlog" id="transferlog">���þ�</a></h2>
391<table class="directive">
392<tr><th><a href="directive-dict.html#Description">����:</a></th><td>�α����� ��ġ�� �����Ѵ�</td></tr>
393<tr><th><a href="directive-dict.html#Syntax">����:</a></th><td><code>TransferLog <var>file</var>|<var>pipe</var></code></td></tr>
394<tr><th><a href="directive-dict.html#Context">������:</a></th><td>�ּ�������, ����ȣ��Ʈ</td></tr>
395<tr><th><a href="directive-dict.html#Status">����:</a></th><td>Base</td></tr>
396<tr><th><a href="directive-dict.html#Module">���:</a></th><td>mod_log_config</td></tr>
397</table>
398    <p>�� ���þ�� <code class="directive"><a href="#customlog">CustomLog</a></code> ���þ�� �ƱԸ�Ʈ��
399    ����� ���������, �α� ����� ���� �����ϰų� ��û�� ���ǿ�
400    ��� �α׿� ���� �� ���. ��� ���� �ֱ� ����� (��Ī��
401    �������� ����) <code class="directive"><a href="#logformat">LogFormat</a></code> ���þ ������
402    �α� ����� ����Ѵ�. �̸� ����� �������� �ʾҴٸ� Common
403    Log Format�� ����Ѵ�.</p>
404
405    <div class="example"><h3>����</h3><p><code>
406      LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-agent}i\""<br />
407      TransferLog logs/access_log
408    </code></p></div>
409
410</div>
411</div>
412<div class="bottomlang">
413<p><span>������ ���: </span><a href="/en/mod/mod_log_config.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
414<a href="/ja/mod/mod_log_config.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
415<a href="/ko/mod/mod_log_config.html" title="Korean">&nbsp;ko&nbsp;</a> |
416<a href="/tr/mod/mod_log_config.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
417</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
418<script type="text/javascript"><!--//--><![CDATA[//><!--
419var comments_shortname = 'httpd';
420var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_log_config.html';
421(function(w, d) {
422    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
423        d.write('<div id="comments_thread"><\/div>');
424        var s = d.createElement('script');
425        s.type = 'text/javascript';
426        s.async = true;
427        s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
428        (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
429    }
430    else { 
431        d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
432    }
433})(window, document);
434//--><!]]></script></div><div id="footer">
435<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
436<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
437if (typeof(prettyPrint) !== 'undefined') {
438    prettyPrint();
439}
440//--><!]]></script>
441</body></html>