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>rotatelogs - ����ġ �α� ��ȯ�ϱ����� �������� ������ 9 �α� ���α� - Apache HTTP Server</title> 10<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" /> 11<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" /> 12<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" /> 13<script src="/style/scripts/prettify.min.js" type="text/javascript"> 14</script> 15 16<link href="/images/favicon.ico" rel="shortcut icon" /></head> 17<body id="manual-page"><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.4</p> 20<img alt="" src="/images/feather.gif" /></div> 21<div class="up"><a href="./"><img title="<-" alt="<-" src="/images/left.gif" /></a></div> 22<div id="path"> 23<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.4</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>rotatelogs - ����ġ �α� ��ȯ�ϱ����� �������� ������ 24 �α� ���α�</h1> 25<div class="toplang"> 26<p><span>������ ���: </span><a href="/en/programs/rotatelogs.html" hreflang="en" rel="alternate" title="English"> en </a> | 27<a href="/fr/programs/rotatelogs.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 28<a href="/ko/programs/rotatelogs.html" title="Korean"> ko </a> | 29<a href="/tr/programs/rotatelogs.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 30</div> 31<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�. 32 �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div> 33 34 <p><code>rotatelogs</code>�� ����ġ�� ������ �α����� ����� 35 ���� ������ ���α��̴�. ���� ���:</p> 36 37<div class="example"><p><code> 38 CustomLog "|bin/rotatelogs /var/logs/logfile 86400" common 39</code></p></div> 40 41 <p>���� /var/logs/logfile.nnnn ������ �����. nnnn�� 42 �α� ������ �ý��۽ð��̴� (�� �ð��� �� ��ȯ�Ⱓ�� 43 ����̴�. ���� cron ��ũ��Ʈ�� ó���ϱ� ����). ��ȯ�Ⱓ 44 (���⼭�� 24 �ð�) ���� ���ο� �α� �����Ѵ�.</p> 45 46<div class="example"><p><code> 47 CustomLog "|bin/rotatelogs /var/logs/logfile 5M" common 48</code></p></div> 49 50 <p>�� ������ �α����� ũ�Ⱑ 5 �ް�����Ʈ�� �ɶ����� 51 ��ȯ�Ѵ�.</p> 52 53<div class="example"><p><code> 54 ErrorLog "|bin/rotatelogs /var/logs/errorlog.%Y-%m-%d-%H_%M_%S 5M" 55</code></p></div> 56 <p>�� ������ ����α� ���� ũ�Ⱑ 5 �ް�����Ʈ�� �ɶ����� 57 <code>errorlog.YYYY-mm-dd-HH_MM_SS</code>�� ���� ������ 58 ���� ����α� ������ ��ȯ�Ѵ�.</p> 59 60</div> 61<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#synopsis">����</a></li> 62<li><img alt="" src="/images/down.gif" /> <a href="#options">�ɼ�</a></li> 63<li><img alt="" src="/images/down.gif" /> <a href="#portability">���ð��ɼ�</a></li> 64</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div> 65<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 66<div class="section"> 67<h2><a name="synopsis" id="synopsis">����</a></h2> 68 69 <p><code><strong>rotatelogs</strong> 70 [ -<strong>l</strong> ] 71 <var>logfile</var> 72 [ <var>rotationtime</var> [ <var>offset</var> ]] | 73 [ <var>filesize</var>M ]</code></p> 74</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 75<div class="section"> 76<h2><a name="options" id="options">�ɼ�</a></h2> 77 78<dl> 79 80<dt><code>-l</code></dt> 81<dd>��ȯ�ֱ�� GMT ��� �����ð��� ����Ѵ�. (BST�� DST�� ����) 82GMT �ð����� ���ϴ� ȯ�濡�� <code>-l</code>�� ����ϸ� ����ġ 83���� ��� ���� �� �ִ�!</dd> 84 85<dt><code><var>logfile</var></code></dt> 86 87<dd>�α������� ��ο� �̸�. <var>logfile</var>�� '%' ���ڰ� 88�ִٸ� <code>strftime(3)</code>�� ��Ĺ��ڿ��� ���� ó���Ѵ�. 89'%' ���ڰ� ��ٸ� �ڿ� �ʴ��� �ð� <var>.nnnnnnnnnn</var>�� 90�ڵ����� ���δ�. �� ��� ��� ���� �Ⱓ���� ���۽ð��� ����Ѵ�.</dd> 91 92<dt><code><var>rotationtime</var></code></dt> 93 94<dd>�α������� ��ȯ�� �ʴ��� �ð�.</dd> 95 96<dt><code><var>offset</var></code></dt> 97 98<dd>UTC���� �д��� �ð�����. ���ϸ� 0���� �����Ͽ� UTC�� 99����Ѵ�. ���� ���, UTC -5 �ð����� �����ð��� ����Ѵٸ� 100�ƱԸ�Ʈ�� <code>-300</code>�� �����Ѵ�.</dd> 101 102<dt><code><var>filesize</var>M</code></dt> 103 104<dd>�ð��� �ƴ� ũ�⸦ �����Ҷ� �ް�����Ʈ���� �ִ� ����ũ�� 105�ڿ� <code>M</code>�� ���δ�. rotationtime�� offset ��� �� 106�Ķ���� ����Ѵ�.</dd> 107</dl> 108</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div> 109<div class="section"> 110<h2><a name="portability" id="portability">���ð��ɼ�</a></h2> 111 112<p>���� �α����� ��Ĺ��ڿ� ǥ���� ��� <code>strftime(3)</code> 113������ �����ؾ� �Ѵ�. ���̺귯�� Ư���� Ȯ���� 114<code>strftime(3)</code> manpage�� ����϶�.</p> 115 116<table class="bordered"><tr><td><code>%A</code></td><td>(����ȭ��) ������ ���� �̸�</td></tr> 117<tr class="odd"><td><code>%a</code></td><td>(����ȭ��) 3-���� ���� �̸�</td></tr> 118<tr><td><code>%B</code></td><td>(����ȭ��) ������ �� �̸�</td></tr> 119<tr class="odd"><td><code>%b</code></td><td>(����ȭ��) 3-���� �� �̸�</td></tr> 120<tr><td><code>%c</code></td><td>(����ȭ��) ��¥�� �ð�</td></tr> 121<tr class="odd"><td><code>%d</code></td><td>2-�ڸ� ��</td></tr> 122<tr><td><code>%H</code></td><td>2-�ڸ� �ð� (24 �ð� �ð�)</td></tr> 123<tr class="odd"><td><code>%I</code></td><td>2-�ڸ� �ð� (12 �ð� �ð�)</td></tr> 124<tr><td><code>%j</code></td><td>3-�ڸ� ��¥��</td></tr> 125<tr class="odd"><td><code>%M</code></td><td>2-�ڸ� ��</td></tr> 126<tr><td><code>%m</code></td><td>2-�ڸ� ��</td></tr> 127<tr class="odd"><td><code>%p</code></td><td>(����ȭ��) 12 �ð� �ð��� am/pm</td></tr> 128<tr><td><code>%S</code></td><td>2-�ڸ� ��</td></tr> 129<tr class="odd"><td><code>%U</code></td><td>2-�ڸ� ���ϼ� (���� ù���� ���� 130�Ͽ���)</td></tr> 131<tr><td><code>%W</code></td><td>2-�ڸ� ���ϼ� (���� ù���� ���� 132�����)</td></tr> 133<tr class="odd"><td><code>%w</code></td><td>1-�ڸ� ���ϼ� (���� ù��° ���� 134�Ͽ���)</td></tr> 135<tr><td><code>%X</code></td><td>(����ȭ��) �ð�</td></tr> 136<tr class="odd"><td><code>%x</code></td><td>(����ȭ��) ��¥</td></tr> 137<tr><td><code>%Y</code></td><td>4-�ڸ� ����</td></tr> 138<tr class="odd"><td><code>%y</code></td><td>2-�ڸ� ����</td></tr> 139<tr><td><code>%Z</code></td><td>�ð��� �̸�</td></tr> 140<tr class="odd"><td><code>%%</code></td><td>���ڱ״�� `%'</td></tr> 141</table> 142 143</div></div> 144<div class="bottomlang"> 145<p><span>������ ���: </span><a href="/en/programs/rotatelogs.html" hreflang="en" rel="alternate" title="English"> en </a> | 146<a href="/fr/programs/rotatelogs.html" hreflang="fr" rel="alternate" title="Français"> fr </a> | 147<a href="/ko/programs/rotatelogs.html" title="Korean"> ko </a> | 148<a href="/tr/programs/rotatelogs.html" hreflang="tr" rel="alternate" title="Türkçe"> tr </a></p> 149</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> 150<script type="text/javascript"><!--//--><![CDATA[//><!-- 151var comments_shortname = 'httpd'; 152var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/rotatelogs.html'; 153(function(w, d) { 154 if (w.location.hostname.toLowerCase() == "httpd.apache.org") { 155 d.write('<div id="comments_thread"><\/div>'); 156 var s = d.createElement('script'); 157 s.type = 'text/javascript'; 158 s.async = true; 159 s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier; 160 (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s); 161 } 162 else { 163 d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>'); 164 } 165})(window, document); 166//--><!]]></script></div><div id="footer"> 167<p class="apache">Copyright 2014 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> 168<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[//><!-- 169if (typeof(prettyPrint) !== 'undefined') { 170 prettyPrint(); 171} 172//--><!]]></script> 173</body></html>