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