Current Path : /usr/local/apache22/share/doc/apache2/mod/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/apache22/share/doc/apache2/mod/mod_log_config.html.ko.euc-kr |
<?xml version="1.0" encoding="EUC-KR"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head> <meta content="text/html; charset=EUC-KR" http-equiv="Content-Type" /> <!-- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX This file is generated from xml source: DO NOT EDIT XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --> <title>mod_log_config - Apache HTTP Server Version 2.2</title> <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> <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" /> <script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /><link href="http://httpd.apache.org/docs/current/mod/mod_log_config.html" rel="canonical" /></head> <body> <div id="page-header"> <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> <p class="apache">Apache HTTP Server Version 2.2</p> <img alt="" src="../images/feather.gif" /></div> <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div> <div id="path"> <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">¸ðµâ</a></div> <div id="page-content"> <div class="retired"><h4>Please note</h4> <p> This document refers to a legacy release (<strong>2.2</strong>) of Apache httpd. The active release (<strong>2.4</strong>) is documented <a href="http://httpd.apache.org/docs/current">here</a>. If you have not already upgraded, please follow <a href="http://httpd.apache.org/docs/current/upgrading.html">this link</a> for more information.</p> <p>You may follow <a href="http://httpd.apache.org/docs/current/mod/mod_log_config.html">this link</a> to go to the current version of this document.</p></div><div id="preamble"><h1>¾ÆÆÄÄ¡ ¸ðµâ mod_log_config</h1> <div class="toplang"> <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../en/mod/mod_log_config.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/mod/mod_log_config.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="../ko/mod/mod_log_config.html" title="Korean"> ko </a> | <a href="../tr/mod/mod_log_config.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </div> <div class="outofdate">ÀÌ ¹®¼´Â ÃÖ½ÅÆÇ ¹ø¿ªÀÌ ¾Æ´Õ´Ï´Ù. ÃÖ±Ù¿¡ º¯°æµÈ ³»¿ëÀº ¿µ¾î ¹®¼¸¦ Âü°íÇϼ¼¿ä.</div> <table class="module"><tr><th><a href="module-dict.html#Description">¼³¸í:</a></th><td>¼¹ö·ÎÀÇ ¿äûÀ» ·Î±×¿¡ ±â·ÏÇÑ´Ù</td></tr> <tr><th><a href="module-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="module-dict.html#ModuleIdentifier">¸ðµâ¸í:</a></th><td>log_config_module</td></tr> <tr><th><a href="module-dict.html#SourceFile">¼Ò½ºÆÄÀÏ:</a></th><td>mod_log_config.c</td></tr></table> <h3>¿ä¾à</h3> <p>ÀÌ ¸ðµâÀº Ŭ¶óÀ̾ðÆ®ÀÇ ¿äûÀ» ·Î±×¿¡ ÀÚÀ¯·Ó°Ô ±â·ÏÇÑ´Ù. ÀÚ½ÅÀÌ ¿øÇÏ´Â Çü½ÄÀ¸·Î ·Î±×¸¦ ±â·ÏÇÒ ¼ö ÀÖ°í, ÆÄÀÏÀ̳ª ¿ÜºÎ ÇÁ·Î±×·¥¿¡ Á÷Á¢ ·Î±×¸¦ º¸³¾ ¼öµµ ÀÖ´Ù. Á¶°ÇÀû ·Î±×¸¦ »ç¿ëÇÏ¸é ¿äûÀÇ ¼º°Ý¿¡ µû¶ó ¿äûÀ» ·Î±×¿¡ Ãß°¡Çϰųª Á¦¿ÜÇÒ ¼ö ÀÖ´Ù.</p> <p>ÀÌ ¸ðµâÀº ¼¼°¡Áö Áö½Ã¾î¸¦ Á¦°øÇÑ´Ù. <code class="directive"><a href="#transferlog">TransferLog</a></code>´Â ·Î±×ÆÄÀÏÀ» ¸¸µé°í, <code class="directive"><a href="#logformat">LogFormat</a></code>Àº ¿øÇÏ´Â Çü½ÄÀ» Á¤ÇÏ°í, <code class="directive"><a href="#customlog">CustomLog</a></code>´Â Çѹø¿¡ ·Î±×ÆÄÀÏ°ú Çü½ÄÀ» ¸ðµÎ ÁöÁ¤ÇÑ´Ù. <code class="directive">TransferLog</code>¿Í <code class="directive">CustomLog</code> Áö½Ã¾î¸¦ ¿©·¯¹ø »ç¿ëÇÏ¸é ¿äûÀ» ¿©·¯ ÆÄÀÏ¿¡ ±â·ÏÇÒ ¼ö ÀÖ´Ù.</p> </div> <div id="quickview"><h3>ÁÖÁ¦</h3> <ul id="topics"> <li><img alt="" src="../images/down.gif" /> <a href="#formats">·Î±× Çü½Ä ÁöÁ¤Çϱâ</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#security">º¸¾È»ó °í·ÁÇÒ Á¡</a></li> </ul><h3 class="directives">Áö½Ã¾îµé</h3> <ul id="toc"> <li><img alt="" src="../images/down.gif" /> <a href="#bufferedlogs">BufferedLogs</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#cookielog">CookieLog</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#customlog">CustomLog</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#logformat">LogFormat</a></li> <li><img alt="" src="../images/down.gif" /> <a href="#transferlog">TransferLog</a></li> </ul> <h3>Âü°í</h3> <ul class="seealso"> <li><a href="../logs.html">¾ÆÆÄÄ¡ ·Î±×ÆÄÀÏ</a></li> </ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="formats" id="formats">·Î±× Çü½Ä ÁöÁ¤Çϱâ</a></h2> <p><code class="directive"><a href="#logformat">LogFormat</a></code>°ú <code class="directive"><a href="#customlog">CustomLog</a></code> Áö½Ã¾îÀÇ Çü½Ä ¾Æ±Ô¸ÕÆ®´Â ¹®ÀÚ¿ÀÌ´Ù. ÀÌ ¹®ÀÚ¿¿¡ µû¶ó ¿äûÀ» ·Î±×ÆÄÀÏ¿¡ ±â·ÏÇÑ´Ù. ¹®ÀÚ¿¿¡´Â ·Î±×ÆÄÀÏ¿¡ ±×´ë·Î º¹»çµÇ´Â ¹®ÀÚ¿Í Çà¹Ù²Þ°ú ÅÇÀ» ³ªÅ¸³»´Â CÀÇ "\n"°ú "\t" Á¦¾î¹®ÀÚ¸¦ »ç¿ëÇÒ ¼ö ÀÖ´Ù. ·Î±×ÆÄÀÏ¿¡ µû¿ÈÇ¥³ª ¹é½½·¡½¬¸¦ ¾²·Á¸é ¾Õ¿¡ ¹Ýµå½Ã ¹é½½·¡½¬¸¦ Àû¾îÁà¾ß ÇÑ´Ù.</p> <p>¿äûÀÇ Æ¯Â¡Àº Çü½Ä ¹®ÀÚ¿¿¡ "<code>%</code>" Áö½Ã¾î¸¦ »ç¿ëÇÏ¿© ±â·ÏÇÑ´Ù. ÀÌ Áö½Ã¾î´Â ·Î±×ÆÄÀÏ¿¡¼ ´ÙÀ½°ú °°ÀÌ º¯°æµÈ´Ù.</p> <table class="bordered"><tr class="header"><th>Çü½Ä ¹®ÀÚ¿</th> <th>¼³¸í</th></tr> <tr><td><code>%%</code></td> <td>ÆÛ¼¾Æ® ±âÈ£</td></tr> <tr class="odd"><td><code>%...a</code></td> <td>¿ø°Ý IP-ÁÖ¼Ò</td></tr> <tr><td><code>%...A</code></td> <td>(¼¹ö) IP-ÁÖ¼Ò</td></tr> <tr class="odd"><td><code>%...B</code></td> <td>HTTP Çì´õ¸¦ Á¦¿ÜÇÑ Àü¼Û ¹ÙÀÌÆ®¼ö.</td></tr> <tr><td><code>%...b</code></td> <td>HTTP Çì´õ¸¦ Á¦¿ÜÇÑ Àü¼Û ¹ÙÀÌÆ®¼ö. CLF Çü½Ä°ú °°ÀÌ Àü¼ÛÇÑ ³»¿ëÀÌ ¾ø´Â °æ¿ì 0 ´ë½Å '<code>-</code>'°¡ ³ª¿Â´Ù.</td></tr> <tr class="odd"><td><code>%...{<var>Foobar</var>}C</code></td> <td>¼¹ö°¡ ¼ö½ÅÇÑ ¿äû¿¡¼ <var>Foobar</var> ÄíÅ°ÀÇ ³»¿ë.</td></tr> <tr><td><code>%...D</code></td> <td>¿äûÀ» ó¸®Çϴµ¥ °É¸° ½Ã°£ (¸¶ÀÌÅ©·ÎÃÊ ´ÜÀ§).</td></tr> <tr class="odd"><td><code>%...{<var>FOOBAR</var>}e</code></td> <td>ȯ°æº¯¼ö <var>FOOBAR</var>ÀÇ ³»¿ë</td></tr> <tr><td><code>%...f</code></td> <td>ÆÄÀϸí</td></tr> <tr class="odd"><td><code>%...h</code></td> <td>¿ø°Ý È£½ºÆ®</td></tr> <tr><td><code>%...H</code></td> <td>¿äû ÇÁ·ÎÅäÄÝ</td></tr> <tr class="odd"><td><code>%...{<var>Foobar</var>}i</code></td> <td>¼¹ö°¡ ¼ö½ÅÇÑ ¿äû¿¡¼ <code><var>Foobar</var>:</code> Çì´õÀÇ ³»¿ë.</td></tr> <tr><td><code>%...l</code></td> <td>(ÀÖ´Ù¸é identd°¡ Á¦°øÇÑ) ¿ø°Ý ·Î±×Àθí. <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>°¡ <code>On</code>ÀÌ ¾Æ´Ï¸é »©±â±âÈ£¸¦ ±â·ÏÇÑ´Ù.</td></tr> <tr class="odd"><td><code>%...m</code></td> <td>¿äû ¸Þ½áµå</td></tr> <tr><td><code>%...{<var>Foobar</var>}n</code></td> <td>´Ù¸¥ ¸ðµâÀÌ ±â·ÏÇÑ <var>Foobar</var> ³ëÆ®(note) ³»¿ë.</td></tr> <tr class="odd"><td><code>%...{<var>Foobar</var>}o</code></td> <td>ÀÀ´äÀÇ <code><var>Foobar</var>:</code> Çì´õ ³»¿ë.</td></tr> <tr><td><code>%...p</code></td> <td>¿äûÀ» ¼ºñ½ºÇÏ´Â ¼¹öÀÇ Á¤±Ô Æ÷Æ®</td></tr> <tr class="odd"><td><code>%...P</code></td> <td>¿äûÀ» ¼ºñ½ºÇÏ´Â ÀÚ½ÄÀÇ ÇÁ·Î¼¼½º ID.</td></tr> <tr><td><code>%...{<var>format</var>}P</code></td> <td>¿äûÀ» ¼ºñ½ºÇÏ´Â ÀÚ½ÄÀÇ ÇÁ·Î¼¼½º ID ȤÀº ¾²·¹µå ID. format¿¡´Â <code>pid</code>¿Í <code>tid</code>°¡ °¡´ÉÇÏ´Ù. </td></tr> <tr class="odd"><td><code>%...q</code></td> <td>ÁúÀǹ®ÀÚ¿ (ÁúÀǹ®ÀÚ¿ÀÌ ÀÖ´Ù¸é ¾Õ¿¡ <code>?</code>¸¦ ºÙÀÌ°í, ¾ø´Ù¸é ºó ¹®ÀÚ¿)</td></tr> <tr><td><code>%...r</code></td> <td>¿äûÀÇ Ã¹¹ø° ÁÙ</td></tr> <tr class="odd"><td><code>%...s</code></td> <td>»óÅÂ(status). ³»ºÎ ¸®´ÙÀÌ·º¼ÇµÈ ¿äûÀÇ °æ¿ì *¿ø·¡* ¿äûÀÇ »óÅÂÀÌ´Ù. ÃÖÁ¾ ¿äûÀÇ »óÅ´ <code>%...>s</code>.</td></tr> <tr><td><code>%...t</code></td> <td>common log format ½Ã°£ Çü½Ä(Ç¥ÁØ ¿µ¾î Çü½Ä)ÀÇ ½Ã°£</td></tr> <tr class="odd"><td><code>%...{<var>format</var>}t</code></td> <td><code>strftime(3)</code> Çü½Ä formatÀÇ ½Ã°£. (Áö¿ª½Ã°£ÀÏ ¼ö ÀÖÀ½)</td></tr> <tr><td><code>%...T</code></td> <td>¿äûÀ» ó¸®Çϴµ¥ °É¸° ½Ã°£ (ÃÊ ´ÜÀ§).</td></tr> <tr class="odd"><td><code>%...u</code></td> <td>¿ø°Ý »ç¿ëÀÚ (auth°¡ Á¦°øÇϸç, »óÅÂ(<code>%s</code>)°¡ 401ÀÎ °æ¿ì ÀÌ»óÇÑ °ªÀ» ³ª¿Ã ¼ö ÀÖÀ½)</td></tr> <tr><td><code>%...U</code></td> <td>ÁúÀǹ®ÀÚ¿À» Á¦¿ÜÇÑ ¿äû URL °æ·Î.</td></tr> <tr class="odd"><td><code>%...v</code></td> <td>¿äûÀ» ¼ºñ½ºÇÑ ¼¹öÀÇ Á¤±Ô <code class="directive"><a href="../mod/core.html#servername">ServerName</a></code>.</td></tr> <tr><td><code>%...V</code></td> <td><code class="directive"><a href="../mod/core.html#usecanonicalname">UseCanonicalName</a></code> ¼³Á¤¿¡ µû¸¥ ¼¹ö¸í.</td></tr> <tr class="odd"><td><code>%...X</code></td> <td>ÀÀ´äÀ» ¸¶ÃÆÀ»¶§ ¿¬°á »óÅÂ. <table> <tr><td><code>X</code> =</td> <td>ÀÀ´äÀ» ¸¶Ä¡±â Àü¿¡ ¿¬°áÀÌ ²÷¾îÁ³´Ù.</td></tr> <tr><td><code>+</code> =</td> <td>ÀÀ´äÀ» º¸³½ÈÄ¿¡µµ ¿¬°áÀÌ »ì¾ÆÀÖ´Ù(keep alive).</td></tr> <tr><td><code>-</code> = </td> <td>ÀÀ´äÀ» º¸³½ÈÄ ¿¬°áÀÌ ²÷¾îÁ³´Ù.</td></tr> </table> <p>(¾ÆÆÄÄ¡ 1.3 ÈÄ¹Ý ¹öÀü¿¡¼ ÀÌ Áö½Ã¾î´Â <code>%...c</code>¿´Áö¸¸, ÀüÅëÀûÀÎ ssl <code>%...{<var>var</var>}c</code> ¹®¹ý°ú °ãÃļ º¯°æÇß´Ù.)</p></td></tr> <tr><td><code>%...I</code></td> <td>¿äû°ú Çì´õ¸¦ Æ÷ÇÔÇÑ ¼ö½Å ¹ÙÀÌÆ®¼ö·Î 0ÀÏ ¼ö ¾ø´Ù. À̸¦ »ç¿ëÇÏ·Á¸é <code class="module"><a href="../mod/mod_logio.html">mod_logio</a></code>°¡ ÇÊ¿äÇÏ´Ù.</td></tr> <tr class="odd"><td><code>%...O</code></td> <td>Çì´õ¸¦ Æ÷ÇÔÇÑ ¼Û½Å ¹ÙÀÌÆ®¼ö·Î 0ÀÏ ¼ö ¾ø´Ù. À̸¦ »ç¿ëÇÏ·Á¸é <code class="module"><a href="../mod/mod_logio.html">mod_logio</a></code>°¡ ÇÊ¿äÇÏ´Ù.</td></tr> </table> <p>"<var>...</var>"¿¡´Â (<em>¿¹¸¦ µé¾î</em>, <code>"%h %u %r %s %b"</code>) ¾Æ¹«°Íµµ ¾ø°Å³ª, Ç׸ñÀ» Æ÷ÇÔÇÒ Á¶°ÇÀÌ ³ª¿Â´Ù (Á¶°ÇÀ» ¸¸Á·ÇÏÁö ¾ÊÀ¸¸é ÀÚ¸®¿¡ "-"¸¦ ±â·ÏÇÑ´Ù). Á¶°ÇÀº ¾Õ¿¡ "!"¸¦ ºÙÀ̰ųª ¾ÈºÙÀÎ HTTP »óÅÂÄÚµå ¸ñ·ÏÀ¸·Î ÀÛ¼ºÇÑ´Ù. ¿¹¸¦ µé¾î, "%400,501{User-agent}i"´Â 400 (Bad Request) ¿À·ù¿Í 501 (Not Implemented) ¿À·ùÀ϶§¸¸ <code>User-agent:</code>¸¦ ·Î±×¿¡ ³²±â°í, "%!200,304,302{Referer}i"´Â Á¤»óÀûÀÎ »óÅ°¡ <em>¾Æ´Ñ</em> ¸ðµç ¿äû¿¡ ´ëÇØ <code>Referer:</code>¸¦ ·Î±×¿¡ ³²±ä´Ù.</p> <p>¼öÁ¤ÀÚ "<"¿Í ">"´Â ³»ºÎ ¸®´ÙÀÌ·º¼ÇµÈ ¿äû¿¡¼ °¢°¢ óÀ½ ¿äûÀ» ¸»ÇÒÁö ¸¶Áö¸· ¿äûÀ» ¸»ÇÒÁö ¼±ÅÃÇÑ´Ù. ±âº»ÀûÀ¸·Î <code>%s, %U, %T, %D, %r</code>Àº óÀ½ ¿äûÀ» º¸°í, ³ª¸ÓÁö <code>%</code> Áö½Ã¾î´Â ¸¶Áö¸· ¿äûÀ» º»´Ù. ±×·¡¼ <code>%>s</code>´Â ¿äûÀÇ ¸¶Áö¸· »óÅÂ(status)¸¦ ±â·ÏÇÏ°í, <code>%<u</code>´Â ÀÎÁõÀ¸·Î º¸È£ÇÏÁö ¾Ê´Â ÀÚ¿øÀ¸·Î ³»ºÎ ¶ó´ÙÀÌ·º¼ÇµÈ °æ¿ì¿¡µµ óÀ½¿¡ ÀÎÁõÇÑ »ç¿ëÀÚ¸¦ ±â·ÏÇÑ´Ù.</p> <p>2.0.46 ÀÌÀüÀÇ httpd 2.0 ¹öÀüÀº <code>%...r</code>, <code>%...i</code>, <code>%...o</code>ÀÇ °á°ú ¹®ÀÚ¿À» ±×´ë·Î µÎ¾ú´Ù. ÀÌÀ¯´Â Common Log FormatÀÇ ¿ä±¸»çÇ×À» µû¸£±âÀ§Çؼ¿´´Ù. Áï, Ŭ¶óÀ̾ðÆ®°¡ Á¦¾î¹®ÀÚ¸¦ ·Î±×¿¡ Áý¾î³ÖÀ» ¼ö Àֱ⶧¹®¿¡ ·Î±×ÆÄÀÏÀ» ±×´ë·Î ´Ù·ê ¶§´Â Á¶½ÉÇØ¾ß ÇÑ´Ù.</p> <p>º¸¾È»ó ÀÌÀ¯·Î 2.0.46ºÎÅÍ Ãâ·ÂÇÒ ¼ö ¾ø´Â ¹®ÀÚ³ª ´Ù¸¥ Ư¼ö¹®ÀÚ¸¦ <code>\x<var>hh</var></code>·Î Ç¥ÇöÇÑ´Ù. ¿©±â¼ <var>hh</var>´Â ÇØ´ç ¹ÙÀÌÆ®ÀÇ 16Áø¼ö Ç¥ÇöÀ» ³ªÅ¸³½´Ù. ÀÌ ±ÔÄ¢ÀÇ ¿¹¿Ü´Â ¹é½½·¡½¬¸¦ ¾Õ¿¡ ºÙÀÌ´Â <code>"</code>¿Í <code>\</code>, ±×¸®°í C¾ð¾î Çü½ÄÀÇ °ø¹é¹®ÀÚµé(<code>\n</code>, <code>\t</code> µî)ÀÌ´Ù.</p> <p>ÀϹÝÀûÀ¸·Î ¸¹ÀÌ »ç¿ëÇÏ´Â ·Î±× Çü½ÄÀº ´ÙÀ½°ú °°´Ù.</p> <dl> <dt>Common Log Format (CLF)</dt> <dd><code>"%h %l %u %t \"%r\" %>s %b"</code></dd> <dt>°¡»óÈ£½ºÆ® Á¤º¸¸¦ Æ÷ÇÔÇÑ Common Log Format</dt> <dd><code>"%v %h %l %u %t \"%r\" %>s %b"</code></dd> <dt>NCSA extended/combined ·Î±× Çü½Ä</dt> <dd><code>"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""</code></dd> <dt>Referer ·Î±× Çü½Ä</dt> <dd><code>"%{Referer}i -> %U"</code></dd> <dt>Agent (ºê¶ó¿ìÀú) ·Î±× Çü½Ä</dt> <dd><code>"%{User-agent}i"</code></dd> </dl> <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>¿Í <code>%p</code>¸¦ »ç¿ëÇÑ´Ù. ·Î±×ºÐ¼® ÇÁ·Î±×·¥ÀÌ ½ÇÁ¦·Î ¿äûÀ» ¼ºñ½ºÇϴ ȣ½ºÆ®¸¦ ¾Ë±âÀ§ÇØ °¡»óÈ£½ºÆ® ã±â ¾Ë°í¸®ÁòÀ» °¡Áú ÇÊ¿ä¾øµµ·Ï ÀÌµé °ªÀº <code class="directive"><a href="../mod/core.html#usecanonicalname">UseCanonicalName</a></code> ¼³Á¤°ú ¹«°üÇÏ´Ù.</p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> <h2><a name="security" id="security">º¸¾È»ó °í·ÁÇÒ Á¡</a></h2> <p>¼¹ö¸¦ ½ÃÀÛÇÏ´Â »ç¿ëÀÚ¿Ü¿¡ ´Ù¸¥ »ç¿ëÀÚ°¡ ·Î±×ÆÄÀÏÀ» ÀúÀåÇÏ´Â µð·ºÅ丮¿¡ ¾²±â ±ÇÇÑÀ» °¡Áú¶§ ¿Ö º¸¾È¿¡ ¹®Á¦°¡ »ý±â´ÂÁö <a href="../misc/security_tips.html#serverroot">º¸¾È ÆÁ</a> ¹®¼¸¦ Âü°íÇ϶ó.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="BufferedLogs" id="BufferedLogs">BufferedLogs</a> <a name="bufferedlogs" id="bufferedlogs">Áö½Ã¾î</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>Buffer log entries in memory before writing to disk</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>BufferedLogs On|Off</code></td></tr> <tr><th><a href="directive-dict.html#Default">±âº»°ª:</a></th><td><code>BufferedLogs Off</code></td></tr> <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>ÁÖ¼¹ö¼³Á¤</td></tr> <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_log_config</td></tr> <tr><th><a href="directive-dict.html#Compatibility">Áö¿ø:</a></th><td>Available in versions 2.0.41 and later.</td></tr> </table><p>The documentation for this directive has not been translated yet. Please have a look at the English version.</p></div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="CookieLog" id="CookieLog">CookieLog</a> <a name="cookielog" id="cookielog">Áö½Ã¾î</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>ÄíÅ°¸¦ ·Î±×¿¡ ³²±â±âÀ§ÇØ »ç¿ëÇÒ ÆÄÀϸíÀ» ¼³Á¤ÇÑ´Ù</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>CookieLog <var>filename</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®</td></tr> <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_log_config</td></tr> <tr><th><a href="directive-dict.html#Compatibility">Áö¿ø:</a></th><td>ÀÌ Áö½Ã¾î´Â »ç¿ëµÇÁö ¾Ê´Â´Ù.</td></tr> </table> <p><code class="directive">CookieLog</code> Áö½Ã¾î´Â ÄíÅ°¸¦ ·Î±×¿¡ ³²±â±âÀ§ÇØ »ç¿ëÇÒ ÆÄÀϸíÀ» ¼³Á¤ÇÑ´Ù. ÆÄÀϸíÀº <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>¿¡ »ó´ë°æ·ÎÀÌ´Ù. ÀÌ Áö½Ã¾î´Â <code>mod_cookies</code>¿Í ȣȯÀ» À§ÇØ Æ÷ÇÔÇßÀ»»Ó, ½ÇÁ¦ »ç¿ëµÇÁö ¾Ê´Â´Ù.</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="CustomLog" id="CustomLog">CustomLog</a> <a name="customlog" id="customlog">Áö½Ã¾î</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>·Î±×ÆÄÀÏ À̸§°ú Çü½ÄÀ» ÁöÁ¤ÇÑ´Ù</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>CustomLog <var>file</var>|<var>pipe</var> <var>format</var>|<var>nickname</var> [env=[!]<var>environment-variable</var>]</code></td></tr> <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®</td></tr> <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_log_config</td></tr> </table> <p>¼¹ö°¡ ¿äûÀ» ·Î±×¿¡ ³²±æ¶§ <code class="directive">CustomLog</code> Áö½Ã¾î¸¦ »ç¿ëÇÑ´Ù. ·Î±× Çü½ÄÀ» ÁöÁ¤ÇÏ°í, ȯ°æº¯¼ö¸¦ »ç¿ëÇÏ¿© ¿äûÀÇ Æ¯Â¡¿¡ µû¶ó ¼±ÅÃÀûÀ¸·Î ·Î±×¸¦ ³²±æ ¼öµµ ÀÖ´Ù.</p> <p>·Î±×¸¦ ±â·ÏÇÒ Àå¼Ò¸¦ ÁöÁ¤Çϴ ù¹ø° ¾Æ±Ô¸ÕÆ®¿¡´Â ´ÙÀ½ µÑÁß Çϳª¸¦ »ç¿ëÇÑ´Ù.</p> <dl> <dt><var>file</var></dt> <dd><code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>¿¡ »ó´ëÀûÀÎ ÆÄÀϸí.</dd> <dt><var>pipe</var></dt> <dd>ÆÄÀÌÇÁ¹®ÀÚ "<code>|</code>"µÚ¿¡ ·Î±× Á¤º¸¸¦ Ç¥ÁØÀÔ·ÂÀ¸·Î ¹ÞÀ» ÇÁ·Î±×·¥ °æ·Î¸¦ Àû´Â´Ù. <div class="warning"><h3>º¸¾È:</h3> <p>ÇÁ·Î±×·¥À» »ç¿ëÇÑ´Ù¸é ÇÁ·Î±×·¥Àº À¥¼¹ö¸¦ ½ÃÀÛÇÑ »ç¿ëÀÚ ±ÇÇÑÀ¸·Î ½ÇÇàµÈ´Ù. ¼¹ö¸¦ root·Î ½ÃÀÛÇÑ´Ù¸é ÇÁ·Î±×·¥µµ root·Î ½ÇÇàÇϹǷΠÇÁ·Î±×·¥ÀÌ ¾ÈÀüÇÑÁö È®ÀÎÇ϶ó.</p> </div> <div class="warning"><h3>ÁÖÀÇ</h3> <p>À¯´Ð½º°¡ ¾Æ´Ñ Ç÷¡Æû¿¡¼ ÆÄÀÏ°æ·Î¸¦ ÀÔ·ÂÇÒ¶§ Ç÷¡ÆûÀÌ ¹é½½·¡½¬¸¦ »ç¿ëÇÏ´õ¶óµµ ¹Ýµå½Ã ½½·¡½¬¸¦ »ç¿ëÇØ¾ß ÇÑ´Ù. ÀϹÝÀûÀ¸·Î ¼³Á¤ÆÄÀÏ¿¡¼´Â Ç×»ó ½½·¡½¬¸¦ »ç¿ëÇÏ´Â °ÍÀÌ ÁÁ´Ù.</p> </div></dd> </dl> <p>µÎ¹ø° ¾Æ±Ô¸ÕÆ®´Â ·Î±×ÆÄÀÏ¿¡ ±â·ÏÇÒ ³»¿ëÀ» ÁöÁ¤ÇÑ´Ù. Àü¿¡ <code class="directive"><a href="#logformat">LogFormat</a></code>À¸·Î Á¤ÀÇÇÑ <var>nickname</var>À» »ç¿ëÇϰųª Á÷Á¢ <a href="#formats">·Î±× Çü½Ä</a> Àý¿¡¼ ¼³¸íÇÑ <var>format</var> ¹®ÀÚ¿À» »ç¿ëÇÒ ¼ö ÀÖ´Ù.</p> <p>¿¹¸¦ µé¾î, ´ÙÀ½ µÎ Áö½Ã¾î´Â ¶È°°Àº ÀÏÀ» ÇÑ´Ù.</p> <div class="example"><p><code> # Çü½Ä º°ÄªÀ» »ç¿ëÇÑ CustomLog<br /> LogFormat "%h %l %u %t \"%r\" %>s %b" common<br /> CustomLog logs/access_log common<br /> <br /> # Á÷Á¢ Çü½Ä ¹®ÀÚ¿À» »ç¿ëÇÑ CustomLog<br /> CustomLog logs/access_log "%h %l %u %t \"%r\" %>s %b" </code></p></div> <p>¼¼¹ø° ¾Æ±Ô¸ÕÆ®´Â ¾ø¾îµµ µÇ¸ç, ƯÁ¤ ¼¹ö ȯ°æº¯¼ö À¯¹«¿¡ µû¶ó ¿äûÀ» ·Î±×¿¡ ±â·ÏÇÒÁö ¿©ºÎ¸¦ °áÁ¤ÇÑ´Ù. ¿äû¿¡ ÁöÁ¤ÇÑ <a href="../env.html">ȯ°æº¯¼ö</a>°¡ Á¤ÀǵÇÀÖ´Ù¸é (ȤÀº '<code>env=!<var>name</var></code>'¸¦ »ç¿ëÇÑ °æ¿ì ¾ø´Ù¸é) ¿äûÀ» ·Î±×¿¡ ±â·ÏÇÑ´Ù.</p> <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> ¸ðµâÀ» »ç¿ëÇÏ¿© ¿äûº°·Î ȯ°æº¯¼ö¸¦ ¼³Á¤ÇÒ ¼ö ÀÖ´Ù. ¿¹¸¦ µé¾î, ¼¹ö°¡ GIF ±×¸²¿¡ ´ëÇÑ ¸ðµç ¿äûÀ» ÁÖ¼¹ö ·Î±×°¡ ¾Æ´Ñ ´Ù¸¥ ·Î±×ÆÄÀÏ¿¡ ±â·ÏÇÏ·Á¸é,</p> <div class="example"><p><code> SetEnvIf Request_URI \.gif$ gif-image<br /> CustomLog gif-requests.log common env=gif-image<br /> CustomLog nongif-requests.log common env=!gif-image </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="LogFormat" id="LogFormat">LogFormat</a> <a name="logformat" id="logformat">Áö½Ã¾î</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>·Î±×ÆÄÀÏ¿¡ »ç¿ëÇÒ Çü½ÄÀ» ±â¼úÇÑ´Ù</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>LogFormat <var>format</var>|<var>nickname</var> [<var>nickname</var>]</code></td></tr> <tr><th><a href="directive-dict.html#Default">±âº»°ª:</a></th><td><code>LogFormat "%h %l %u %t \"%r\" %>s %b"</code></td></tr> <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®</td></tr> <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_log_config</td></tr> </table> <p>ÀÌ Áö½Ã¾î´Â Á¢±Ù ·Î±×ÆÄÀÏÀÇ Çü½ÄÀ» ÁöÁ¤ÇÑ´Ù.</p> <p><code class="directive">LogFormat</code> Áö½Ã¾î´Â µÎ°¡Áö Çü½ÄÀ¸·Î »ç¿ëÇÑ´Ù. ù¹ø° Çü½ÄÀº ¾Æ±Ô¸ÕÆ®¸¦ ÇÑ°³¸¸ »ç¿ëÇÏ¿© ´ÙÀ½ <code class="directive">TransferLog</code> Áö½Ã¾îµéÀÌ »ç¿ëÇÒ ·Î±× Çü½ÄÀ» ÁöÁ¤ÇÑ´Ù. ÀÌ ¾Æ±Ô¸ÕÆ®¿¡ À§ÀÇ <a href="#formats">·Î±× Çü½Ä ÁöÁ¤Çϱâ</a> Àý¿¡¼ ¼³¸íÇÑ <var>format</var>À» Á÷Á¢ »ç¿ëÇϰųª, ´ÙÀ½¿¡ ¼³¸íÇÒ <code class="directive">LogFormat</code> Áö½Ã¾î·Î ¹Ì¸® Á¤ÀÇÇÑ (·Î±× Çü½ÄÀ» ÁöĪÇÏ´Â) <var>nickname</var>À» »ç¿ëÇÒ ¼ö ÀÖ´Ù.</p> <p><code class="directive">LogFormat</code> Áö½Ã¾îÀÇ µÎ¹ø° Çü½ÄÀº <var>format</var>°ú <var>nickname</var>À» ¿¬°áÇÑ´Ù. ±×·¯¸é µÚ¿¡¼ »ç¿ëÇÏ´Â <code class="directive">LogFormat</code>À̳ª <code class="directive"><a href="#customlog">CustomLog</a></code> Áö½Ã¾î¿¡ ¹Ýº¹Çؼ Çü½Ä ¹®ÀÚ¿À» ¸ðµÎ ÀÔ·ÂÇÏ´Â ´ë½Å <var>nickname</var>À» »ç¿ëÇÒ ¼ö ÀÖ´Ù. º°ÄªÀ» Á¤ÀÇÇÏ´Â <code class="directive">LogFormat</code> Áö½Ã¾î´Â <strong>ÀÌ ¿Ü¿¡´Â ¾Æ¹« ±â´ÉÀ» ÇÏÁö ¾Ê´Â´Ù</strong>. Áï, º°Äª<em>¸¸</em>À» Á¤ÀÇÇϸç, ½ÇÁ¦·Î Çü½ÄÀ» Àû¿ëÇϰųª Çü½ÄÀ» ±âº»°ªÀ¸·Î ¸¸µéÁö ¾Ê´Â´Ù. ±×·¯¹Ç·Î ´ÙÀ½¿¡ ³ª¿À´Â <code class="directive"><a href="#transferlog">TransferLog</a></code> Áö½Ã¾î¿¡ ¿µÇâÀ» ÁÖÁö ¾Ê´Â´Ù. ¶Ç, <code class="directive">LogFormat</code>Àº º°ÄªÀ¸·Î ´Ù¸¥ º°ÄªÀ» Á¤ÀÇÇÒ ¼ö ÀÖ´Ù. º°Äª À̸§¿¡´Â ÆÛ¼¾Æ® ±âÈ£(<code>%</code>)¸¦ »ç¿ëÇÒ ¼ö ¾øÀ½À» ÁÖÀÇÇ϶ó.</p> <div class="example"><h3>¿¹Á¦</h3><p><code> LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost_common </code></p></div> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="directive-section"><h2><a name="TransferLog" id="TransferLog">TransferLog</a> <a name="transferlog" id="transferlog">Áö½Ã¾î</a></h2> <table class="directive"> <tr><th><a href="directive-dict.html#Description">¼³¸í:</a></th><td>·Î±×ÆÄÀÏ À§Ä¡¸¦ ¼³Á¤ÇÑ´Ù</td></tr> <tr><th><a href="directive-dict.html#Syntax">¹®¹ý:</a></th><td><code>TransferLog <var>file</var>|<var>pipe</var></code></td></tr> <tr><th><a href="directive-dict.html#Context">»ç¿ëÀå¼Ò:</a></th><td>ÁÖ¼¹ö¼³Á¤, °¡»óÈ£½ºÆ®</td></tr> <tr><th><a href="directive-dict.html#Status">»óÅÂ:</a></th><td>Base</td></tr> <tr><th><a href="directive-dict.html#Module">¸ðµâ:</a></th><td>mod_log_config</td></tr> </table> <p>ÀÌ Áö½Ã¾î´Â <code class="directive"><a href="#customlog">CustomLog</a></code> Áö½Ã¾î¿Í ¾Æ±Ô¸ÕÆ®¿Í ±â´ÉÀÌ ºñ½ÁÇÏÁö¸¸, ·Î±× Çü½ÄÀ» Á÷Á¢ ÁöÁ¤Çϰųª ¿äûÀ» Á¶°Ç¿¡ µû¶ó ·Î±×¿¡ ³²±æ ¼ö ¾ø´Ù. ´ë½Å °¡Àå ÃÖ±Ù »ç¿ëÇÑ (º°ÄªÀ» Á¤ÀÇÇÏÁö ¾ÊÀº) <code class="directive"><a href="#logformat">LogFormat</a></code> Áö½Ã¾î°¡ ÁöÁ¤ÇÑ ·Î±× Çü½ÄÀ» »ç¿ëÇÑ´Ù. ¹Ì¸® Çü½ÄÀ» ÁöÁ¤ÇÏÁö ¾Ê¾Ò´Ù¸é Common Log FormatÀ» »ç¿ëÇÑ´Ù.</p> <div class="example"><h3>¿¹Á¦</h3><p><code> LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""<br /> TransferLog logs/access_log </code></p></div> </div> </div> <div class="bottomlang"> <p><span>°¡´ÉÇÑ ¾ð¾î: </span><a href="../en/mod/mod_log_config.html" hreflang="en" rel="alternate" title="English"> en </a> | <a href="../ja/mod/mod_log_config.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> | <a href="../ko/mod/mod_log_config.html" title="Korean"> ko </a> | <a href="../tr/mod/mod_log_config.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> </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&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> <script type="text/javascript"><!--//--><![CDATA[//><!-- var comments_shortname = 'httpd'; var comments_identifier = 'http://httpd.apache.org/docs/2.2/mod/mod_log_config.html'; (function(w, d) { if (w.location.hostname.toLowerCase() == "httpd.apache.org") { d.write('<div id="comments_thread"><\/div>'); var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); } else { d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); } })(window, document); //--><!]]></script></div><div id="footer"> <p class="apache">Copyright 2017 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> <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[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); } //--><!]]></script> </body></html>