summaryrefslogtreecommitdiffstats
path: root/docs/manual/programs/rotatelogs.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/manual/programs/rotatelogs.html2
-rw-r--r--docs/manual/programs/rotatelogs.html.en87
-rw-r--r--docs/manual/programs/rotatelogs.html.fr.utf891
-rw-r--r--docs/manual/programs/rotatelogs.html.ko.euc-kr4
-rw-r--r--docs/manual/programs/rotatelogs.html.tr.utf883
5 files changed, 179 insertions, 88 deletions
diff --git a/docs/manual/programs/rotatelogs.html b/docs/manual/programs/rotatelogs.html
index c22edfa..0680a21 100644
--- a/docs/manual/programs/rotatelogs.html
+++ b/docs/manual/programs/rotatelogs.html
@@ -2,7 +2,7 @@
URI: rotatelogs.html.en
Content-Language: en
-Content-type: text/html; charset=ISO-8859-1
+Content-type: text/html; charset=UTF-8
URI: rotatelogs.html.fr.utf8
Content-Language: fr
diff --git a/docs/manual/programs/rotatelogs.html.en b/docs/manual/programs/rotatelogs.html.en
index 1c6576e..4635fe5 100644
--- a/docs/manual/programs/rotatelogs.html.en
+++ b/docs/manual/programs/rotatelogs.html.en
@@ -1,7 +1,7 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
<!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="en" xml:lang="en"><head>
-<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type" />
+<meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
<!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
@@ -24,9 +24,9 @@
<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.4</a> &gt; <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>rotatelogs - Piped logging program to rotate Apache logs</h1>
<div class="toplang">
<p><span>Available Languages: </span><a href="../en/programs/rotatelogs.html" title="English">&nbsp;en&nbsp;</a> |
-<a href="../fr/programs/rotatelogs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
+<a href="../fr/programs/rotatelogs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
<a href="../ko/programs/rotatelogs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
-<a href="../tr/programs/rotatelogs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
+<a href="../tr/programs/rotatelogs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
</div>
<p><code>rotatelogs</code> is a simple program for use in
@@ -68,10 +68,16 @@ interval or for <code>strftime(3)</code> formatting with size-based
rotation.</dd>
<dt><code>-L</code> <var>linkname</var></dt>
-<dd>Causes a hard link to be made from the current logfile
+<dd><p>Causes a hard link to be made from the current logfile
to the specified link name. This can be used to watch
the log continuously across rotations using a command like
-<code>tail -F linkname</code>.</dd>
+<code>tail -F linkname</code>.</p>
+<p>If the linkname is not an absolute
+path, it is relative to <code>rotatelogs</code>' working directory,
+which is the <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> when
+<code>rotatelogs</code> is run by the server.
+</p>
+</dd>
<dt><code>-p</code> <var>program</var></dt>
@@ -107,6 +113,13 @@ the filename, however format strings containing '%' characters
will be respected.
</dd>
+<dt><code>-T</code></dt>
+<dd>Causes all but the initial logfile to be truncated when opened.
+This is useful when the format string contains something that will
+loop around, such as the day of the month. Available in 2.4.56 and later.
+</dd>
+
+
<dt><code>-v</code></dt>
<dd>Produce verbose output on STDERR. The output contains
the result of the configuration parsing, and all file open and
@@ -120,9 +133,16 @@ processed in real time by a further tool in the chain.</dd>
<dd>Create log file for each interval, even if empty.</dd>
<dt><code>-n <var>number-of-files</var></code></dt>
-<dd>Use a circular list of filenames without timestamps.
-With -n 3, the series of log files opened would be
-"logfile", "logfile.1", "logfile.2", then overwriting "logfile".
+<dd>Use a circular list of filenames without timestamps. This option overwrites
+log files at startup and during rotation. With -n 3, the series of log
+files opened would be "logfile", "logfile.1", "logfile.2", then overwriting
+"logfile".
+<br />
+When this program first opens "logfile", the file will only be truncated if <code>-t</code> is also provided. Every subsequent rotation will
+always begin with truncation of the target file. For size based rotation without <code>-t</code> and existing log files in place,
+this option may result in unintuitive behavior such as initial log entries being sent to "logfile.1", and entries in "logfile.1" not being preserved
+even if later "logfile.n" have not yet been used.
+<br />
Available in 2.4.5 and later.</dd>
<dt><code><var>logfile</var></code></dt>
@@ -146,6 +166,11 @@ one. For example, if <var>logfile</var> was
megabytes, but 5 megabytes was reached twice in the same day, the
same log file name would be produced and log rotation would keep
writing to the same file.</p>
+<p>If the logfile is not an absolute
+path, it is relative to <code>rotatelogs</code>' working directory,
+which is the <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> when
+<code>rotatelogs</code> is run by the server.
+</p>
</dd>
<dt><code><var>rotationtime</var></code></dt>
@@ -181,9 +206,8 @@ an offset.</dd>
<div class="section">
<h2><a name="examples" id="examples">Examples</a></h2>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs /var/log/logfile 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs /var/log/logfile 86400" common</pre>
+</div>
<p>This creates the files /var/log/logfile.nnnn where nnnn is
the system time at which the log nominally starts (this time
@@ -191,38 +215,43 @@ an offset.</dd>
synchronize cron scripts with it). At the end of each rotation
time (here after 24 hours) a new log is started.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs -l /var/log/logfile.%Y.%m.%d 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -l /var/log/logfile.%Y.%m.%d 86400" common</pre>
+</div>
<p>This creates the files /var/log/logfile.yyyy.mm.dd where
yyyy is the year, mm is the month, and dd is the day of the month.
Logging will switch to a new file every day at midnight, local time.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs /var/log/logfile 5M" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs /var/log/logfile 5M" common</pre>
+</div>
<p>This configuration will rotate the logfile whenever it reaches
a size of 5 megabytes.</p>
-<div class="example"><p><code>
- ErrorLog "|bin/rotatelogs /var/log/errorlog.%Y-%m-%d-%H_%M_%S 5M"
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">ErrorLog "|bin/rotatelogs /var/log/errorlog.%Y-%m-%d-%H_%M_%S 5M"</pre>
+</div>
<p>This configuration will rotate the error logfile whenever it
reaches a size of 5 megabytes, and the suffix to the logfile name
will be created of the form
<code>errorlog.YYYY-mm-dd-HH_MM_SS</code>.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs -t /var/log/logfile 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -t /var/log/logfile 86400" common</pre>
+</div>
- <p>This creates the file /var/log/logfile, truncating the file at
+ <p>This creates the file <code>/var/log/logfile</code>, truncating the file at
startup and then truncating the file once per day. It is expected
in this scenario that a separate process (such as tail) would
process the file in real time.</p>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -T /var/log/logfile.%d 86400" common</pre>
+</div>
+
+<p>If the server is started (or restarted) on the first of the month, this
+appends to <code>/var/log/logfile.01</code>. When a log entry is written on the
+second of the month, <code>/var/log/logfile.02</code> is truncated and new entries
+will be added to the top. This example keeps approximately 1 months worth of
+logs without external maintenance.</p>
+
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="portability" id="portability">Portability</a></h2>
@@ -262,10 +291,10 @@ extensions.</p>
</div></div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/programs/rotatelogs.html" title="English">&nbsp;en&nbsp;</a> |
-<a href="../fr/programs/rotatelogs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
+<a href="../fr/programs/rotatelogs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
<a href="../ko/programs/rotatelogs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
-<a href="../tr/programs/rotatelogs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</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&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>
+<a href="../tr/programs/rotatelogs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</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&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed 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 Libera.chat, or sent to our <a href="https://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.4/programs/rotatelogs.html';
@@ -283,7 +312,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/rotatelogs.
}
})(window, document);
//--><!]]></script></div><div id="footer">
-<p class="apache">Copyright 2019 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="apache">Copyright 2024 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/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();
diff --git a/docs/manual/programs/rotatelogs.html.fr.utf8 b/docs/manual/programs/rotatelogs.html.fr.utf8
index d5dba96..5b109d6 100644
--- a/docs/manual/programs/rotatelogs.html.fr.utf8
+++ b/docs/manual/programs/rotatelogs.html.fr.utf8
@@ -71,10 +71,16 @@ de temps ou pour le formatage de <code>strftime(3)</code> avec une
rotation basée sur la taille.</dd>
<dt><code>-L</code> <var>nom-lien</var></dt>
-<dd>Etablit un lien physique entre le fichier journal courant et le lien
+<dd><p>Etablit un lien physique entre le fichier journal courant et le lien
spécifié. Cette option permet de consulter le journal de manière
continue malgré les rotations via une commande du style <code>tail -F
-nom-lien</code>.</dd>
+nom-lien</code>.</p>
+<p>Si le nom du lien spécifié n'est pas un chemin absolu, il est relatif au
+répertoire de travail de <code>rotatelogs</code> qui correspond à la valeur de
+la directive <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> lorsque la commande
+<code>rotatelogs</code> est exécutée par le serveur.
+</p>
+</dd>
<dt><code>-p</code> <var>programme</var></dt>
<dd>Avec cette option, <code>rotatelogs</code> exécutera le programme
@@ -99,10 +105,9 @@ journal associé n'"existe" pas, ce qui peut causer des problèmes à
certains utilitaires de journalisation automatiques).</dd>
<dt><code>-D</code></dt>
-<dd>Crée les répertoires parents du répertoire dans lequel le fichier journal
-sera placé s'ils n'existent pas déjà. Cela permet d'utiliser le formatage
-<code>strftime(3)</code> non seulement dans le nom de fichier mais aussi dans le
-chemin.</dd>
+<dd>Crée les répertoires parents du chemin du fichier journal s'ils
+n'existent pas déjà, ce qui permet d'utiliser le format
+<code>strftime(3)</code> dans les chemins au lieu du nom de fichier seul.</dd>
<dt><code>-t</code></dt>
<dd>Provoque une troncature du fichier journal au lieu d'une rotation.
@@ -113,6 +118,15 @@ chaînes de format contenant des caractères '%' sont cependant
respectées.
</dd>
+<dt><code>-T</code></dt>
+<dd>Provoque la troncature de tous les fichiers journaux lors de leur ouverture,
+à l'exception du fichier journal initial. Cela s'avère utile lorsque la chaîne
+de formatage contient quelque chose qui va se répéter de manière cyclique, comme
+le jour du mois par exemple. Disponible à partir de la version 2.4.56 du serveur
+HTTP Apache.
+</dd>
+
+
<dt><code>-v</code></dt>
<dd>Affiche une sortie verbeuse sur STDERR. La sortie contient le
résultat de l'interprétation de la configuration, ainsi que toutes les
@@ -126,9 +140,20 @@ opérations d'ouverture et de fermeture de fichiers.</dd>
utile lorsque les journaux doivent être traités par un autre programme.</dd>
<dt><code>-n <var>nombre-de-fichiers</var></code></dt>
-<dd>Utilise une liste circulaire de fichiers sans repères de temps. Avec
--n 3, la série de fichiers conservés sera "logfile",
+<dd>Utilise une liste circulaire de noms de fichiers sans repères de temps.
+Cette option permet d'écraser des fichiers journaux au démarrage et au cours de
+la rotation. Avec -n 3, la série de fichiers conservés sera "logfile",
"logfile.1", "logfile.2" avec écrasement de "logfile".
+<br />
+Lorsque ce programme ouvre «&nbsp;logfile&nbsp;», ce dernier sera seulement tronqué si
+l'option <code>-t</code> est aussi spécifiée. Toute rotation subséquente sera
+précédée d'une troncature du fichier cible. Dans le cas d'une rotation basée sur
+la taille sans l'option <code>-t</code> et si des fichiers journaux sont déjà en
+place, cette option peut provoquer des résultats inattendus comme l'envoi des
+entrées de journal initiales vers «&nbsp;logfile.1&nbsp;», les entrées de «&nbsp;logfile.1&nbsp;»
+n'étant pas conservées, même si des fichiers «&nbsp;logfile.n&nbsp;» n'ont pas encore été
+utilisés.
+<br />
Disponible à partir de la version 2.4.5 du serveur HTTP Apache.</dd>
<dt><code><var>fichier-journal</var></code></dt>
@@ -153,6 +178,11 @@ nouveau. Par exemple, si <var>fichier-journal</var> était
mégaoctets, et si la limite de 5 mégaoctets a été atteinte deux fois
dans la même journée, le même nom de fichier va être généré, et la
rotation va écraser le fichier existant.</p>
+<p>Si le nom du fichier journal n'est pas un chemin absolu, il est relatif au
+répertoire de travail de <code>rotatelogs</code> qui correspond à la valeur de
+la directive <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> lorsque la commande
+<code>rotatelogs</code> est exécutée par le serveur.
+</p>
</dd>
<dt><code><var>temps-rotation</var></code></dt>
@@ -191,9 +221,8 @@ spécifier un décalage.</dd>
<div class="section">
<h2><a name="examples" id="examples">Exemples</a></h2>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs /var/log/fichier-journal 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs /var/log/fichier-journal 86400" common</pre>
+</div>
<p>Cette directive crée les fichiers /var/log/fichier-journal.nnnn
où nnnn correspond au temps système auquel la journalisation
@@ -202,38 +231,42 @@ spécifier un décalage.</dd>
avec lui). A la fin de chaque temps de rotation (ici après 24
heures), une nouvelle journalisation démarre.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs -l /var/log/fichier-journal.%Y.%m.%d 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -l /var/log/fichier-journal.%Y.%m.%d 86400" common</pre>
+</div>
<p>Cette directive crée les fichiers
/var/log/fichier-journal.yyyy.mm.dd où yyyy correspond à l'année,
mm au mois et dd au jour du mois. La journalisation basculera vers
un nouveau fichier chaque jour à minuit, temps local.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs /var/log/fichier-journal 5M" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs /var/log/fichier-journal 5M" common</pre>
+</div>
<p>Cette directive va effectuer une rotation du fichier journal
chaque fois que la taille de ce dernier atteindra 5 MOctets.</p>
-<div class="example"><p><code>
- ErrorLog "|bin/rotatelogs /var/log/journal-erreurs.%Y-%m-%d-%H_%M_%S 5M"
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">ErrorLog "|bin/rotatelogs /var/log/journal-erreurs.%Y-%m-%d-%H_%M_%S 5M"</pre>
+</div>
<p>Cette directive va effectuer une rotation du fichier journal des
erreurs chaque fois que la taille de ce dernier atteindra 5
MOctets, et le nom du fichier journal se présentera sous
la forme <code>journal-erreurs.YYYY-mm-dd-HH_MM_SS</code>.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs -t /var/log/journal 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -t /var/log/journal 86400" common</pre>
+</div>
+
+ <p>Cet exemple crée le fichier <code>/var/log/journal</code> en le
+ tronquant au démarrage, puis une fois par jour. Ce scénario implique qu'un
+ processus séparé (tel que tail) traite le fichier en temps réel.</p>
+
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -T /var/log/logfile.%d 86400" common</pre>
+</div>
- <p>Cet exemple crée le fichier /var/log/journal en le tronquant
- au démarrage, puis une fois par jour. Ce scénario implique qu'un
- processus séparé (tel que tail) traite le fichier en temps
- réel.</p>
+<p>Si le serveur est démarré ou redémarré le premier du mois, cela s'ajoute à la
+fin de <code>/var/log/logfile.01</code>. Lorsqu'une entrée de journal est écrite
+le deux du mois, <code>/var/log/logfile.02</code> est tronqué et les nouvelles
+entrées seront ajoutées à partir du début du fichier. Cet exemple conserve
+environ 1 mois de journaux sans nécessiter de maintenance externe.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
@@ -281,7 +314,7 @@ caractères (localisé)</td></tr>
<a href="../fr/programs/rotatelogs.html" title="Français">&nbsp;fr&nbsp;</a> |
<a href="../ko/programs/rotatelogs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
<a href="../tr/programs/rotatelogs.html" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</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">Commentaires</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>
+</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">Commentaires</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 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 Libera.chat, or sent to our <a href="https://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.4/programs/rotatelogs.html';
@@ -299,7 +332,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/rotatelogs.
}
})(window, document);
//--><!]]></script></div><div id="footer">
-<p class="apache">Copyright 2019 The Apache Software Foundation.<br />Autorisé sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
+<p class="apache">Copyright 2024 The Apache Software Foundation.<br />Autorisé sous <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossaire</a> | <a href="../sitemap.html">Plan du site</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();
diff --git a/docs/manual/programs/rotatelogs.html.ko.euc-kr b/docs/manual/programs/rotatelogs.html.ko.euc-kr
index 9eb8a1a..4f13842 100644
--- a/docs/manual/programs/rotatelogs.html.ko.euc-kr
+++ b/docs/manual/programs/rotatelogs.html.ko.euc-kr
@@ -148,7 +148,7 @@ GMT ½Ã°£Â÷°¡ º¯Çϴ ȯ°æ¿¡¼­ <code>-l</code>À» »ç¿ëÇÏ¸é ¿¹±âÄ¡
<a href="../fr/programs/rotatelogs.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
<a href="../ko/programs/rotatelogs.html" title="Korean">&nbsp;ko&nbsp;</a> |
<a href="../tr/programs/rotatelogs.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</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&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>
+</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 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 Libera.chat, or sent to our <a href="https://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.4/programs/rotatelogs.html';
@@ -166,7 +166,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/rotatelogs.
}
})(window, document);
//--><!]]></script></div><div id="footer">
-<p class="apache">Copyright 2019 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="apache">Copyright 2024 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();
diff --git a/docs/manual/programs/rotatelogs.html.tr.utf8 b/docs/manual/programs/rotatelogs.html.tr.utf8
index 9a1fb71..9122ffd 100644
--- a/docs/manual/programs/rotatelogs.html.tr.utf8
+++ b/docs/manual/programs/rotatelogs.html.tr.utf8
@@ -40,7 +40,7 @@
<li><img alt="" src="../images/down.gif" /> <a href="#options">Seçenekler</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#examples">Örnekler</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#portability">Taşınabilirlik</a></li>
-</ul><h3>Ayrıca bakınız:</h3><ul class="seealso"><li><a href="#comments_section">Yorum</a></li></ul></div>
+</ul><h3>Ayrıca bakınız:</h3><ul class="seealso"><li><a href="#comments_section">Yorumlar</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="synopsis" id="synopsis">Kullanım</a></h2>
@@ -68,9 +68,13 @@
<dd>GMT yerine yerel zamanın kullanılmasını sağlar.</dd>
<dt><code><strong>-L</strong></code> <var>bagismi</var></dt>
- <dd>Belirtilen bağ dosyası ismine geçerli günlük dosyasından kalıcı bir bağ
+ <dd><p>Belirtilen bağ dosyası ismine geçerli günlük dosyasından kalıcı bir bağ
oluşturulur. <code>tail -F bagismi</code> gibi bir komut kullanılarak
- günlüğün sürekli izlenmesi için kullanılabilir.</dd>
+ günlüğün sürekli izlenmesi için kullanılabilir.</p>
+ <p>Bağ ismi mutlak bir yol içermiyorsa, <code>rotatelogs</code>'un çalışma
+ dizinine, <code>rotatelogs</code> sunucu tarafından çalıştırılıyorsa
+ <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code> dizinine görelidir.</p>
+ </dd>
<dt><code><strong>-p</strong></code> <var>program</var></dt>
@@ -93,8 +97,8 @@
açabilir. Bu seçenek bu gibi durumlarda yararlıdır.</dd>
<dt><code><strong>-D</strong></code></dt>
- <dd>Günlük dosyasının yerleştirileceği dizini (eğer yoksa) üst dizinleri ile
- birlikte yapılandırır. Bu, <code>strftime(3)</code> işlevinin sırf dosya için
+ <dd>Günlük dosyasının yerleştirileceği dizini (eğer yoksa) üst dizinleri ile
+ birlikte yapılandırır. Bu, <code>strftime(3)</code> işlevinin sırf dosya için
değil yol için de kullanılmasını sağlar.</dd>
<dt><code><strong>-t</strong></code></dt>
@@ -104,6 +108,13 @@
Dosya ismine bir sonek eklenmez, ancak biçem dizgesi '%' karakteri
içeriyorsa buna uyulur.</dd>
+ <dt><code>-T</code></dt>
+ <dd>Açıldığında ilk günlük dosyası dışındaki tüm dosyaların kırpılmasına
+ neden olur. Bu, biçem dizgesi ayın günü gibi döngüsel bir şey içerdiğinde
+ kullanışlıdır. 2.4.56 ve sonrasında mevcuttur.
+ </dd>
+
+
<dt><code><strong>-v</strong></code></dt>
<dd>Standart hataya verilen çıktı daha ayrıntılı olur. Çıktı,
yapılandırma çözümlemesinin sonuçlarını ve tüm dosya açma/kapama
@@ -114,12 +125,22 @@
tarafından gerçek zamanda işlenmesi gerektiğinde kullanışlıdır.</dd>
<dt><code><strong>-c</strong></code></dt>
- <dd>Create log file for each interval, even if empty.</dd>
+ <dd>Boş olsa bile her döngüde günlük dosyası oluşturur.</dd>
<dt><code><strong>-n</strong> <var>dosya_sayısı</var></code></dt>
- <dd>Zaman damgalarına bakılmaksızın bir dosya serisi açılır. Örneğin -n3
- belirtilirse "logfile", "logfile.1", "logfile.2" serisi açılır ve
- "logfile" üzerine yazılır.
+ <dd>Zaman damgalarına bakılmaksızın bir dosya serisi açılır. Bu seçenek
+ döndürme ve başlatma sırasında günlük dosyalarının üzerine yazar.
+ Örneğin -n3 belirtilirse <var>dosyaismi</var>, <var>dosyaismi.1</var>,
+ <var>dosyaismi.2</var> serisi açılır ve <var>dosyaismi</var>'nin üzerine
+ yazılır.<br />
+ Bu uygulama <var>dosyaismi</var> dosyasını ilk açtığında, dosya yalnızca
+ <code>-t</code> seçeneği de belirtilmişse kırpılır. Sonraki her döngü,
+ daima hedef dosya kırpılarak başlar. <code>-t</code> ve mevcut günlük
+ dosyaları olmadan boyuta dayalı döndürme için bu seçenek, ilk günlük
+ girişlerinin <var>dosyaismi.1</var>'e gönderilmesine ve
+ <var>dosyaismi.n</var> henüz kullanılmamış olsa bile
+ <var>dosyaismi.1</var>'deki girdilerin korunmaması gibi sezgisel
+ olmayan davranışlara neden olabilir.<br />
2.4.5 ve sonraki sürümler içindir.</dd>
<dt><code><var>dosyaismi</var></code></dt>
@@ -143,6 +164,10 @@
yeni bir günlük dosyasına başlanacaktır. Fakat 5 megabayta gün içinde iki
kez ulaşılırsa aynı günlük dosyası üretilir ve günlük hep aynı dosyanın
üzerine yazılır.</p>
+ <p>Günlük dosyası mutlak bir yol içermiyorsa, <code>rotatelogs</code>'un
+ çalışma dizinine, <code>rotatelogs</code> sunucu tarafından
+ çalıştırılıyorsa <code class="directive"><a href="../mod/core.html#serverroot">ServerRoot</a></code>
+ dizinine görelidir.</p>
</dd>
<dt><code><var>süre</var></code></dt>
@@ -172,9 +197,8 @@
<div class="section">
<h2><a name="examples" id="examples">Örnekler</a></h2>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs /var/log/logfile 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs /var/log/logfile 86400" common</pre>
+</div>
<p>nnnn, günlük kaydının başladığı sistem zamanı olmak üzere
/var/log/logfile.nnnn dosyası oluşturulur. Bu zaman, daima döngü
@@ -182,36 +206,41 @@
kullanabilirsiniz. Her döngü süresinin sonunda (burada 24 saat sonra)
yeni bir günlük dosyası açılır.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs -l /var/log/logfile.%Y.%m.%d 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -l /var/log/logfile.%Y.%m.%d 86400" common</pre>
+</div>
<p>yyyy, yıl; mm, ay; dd, ayın gününü belirtmek üzere
/var/log/logfile.yyyy.mm.dd dosyası oluşturulur. Her gün yerel zamanla
geceyarısı yeni bir günlük dosyasına geçilecektir.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs /var/log/logfile 5M" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs /var/log/logfile 5M" common</pre>
+</div>
<p>Günlük dosyası 5 megabaytlık olunca yenisinin oluşturulmasını sağlar.
</p>
-<div class="example"><p><code>
- ErrorLog "|bin/rotatelogs /var/log/errorlog.%Y-%m-%d-%H_%M_%S 5M"
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">ErrorLog "|bin/rotatelogs /var/log/errorlog.%Y-%m-%d-%H_%M_%S 5M"</pre>
+</div>
<p>Hata günlüğünün 5 megabaytta bir
<code>errorlog.YYYY-mm-dd-HH_MM_SS</code> biçemli bir isimle
oluşturulmasını sağlar.</p>
-<div class="example"><p><code>
- CustomLog "|bin/rotatelogs -t /var/log/logfile 86400" common
-</code></p></div>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -t /var/log/logfile 86400" common</pre>
+</div>
- <p>/var/log/logfile dosyasını oluşturur, sunucu başlatılırken ve günde
+ <p><code>/var/log/logfile</code> dosyasını oluşturur, sunucu başlatılırken ve günde
bir kere dosyanın tepesi kırpılır. Bu senaryoda ayrı bir sürecin (tail
gibi) dosyayı gerçek zamanlı işleyeceği umulur.</p>
+<div class="example"><pre class="prettyprint lang-config">CustomLog "|bin/rotatelogs -T /var/log/logfile.%d 86400" common</pre>
+</div>
+
+ <p>Sunucu ayın birinde başlatılırsa (veya yeniden başlatılırsa), bu,
+ <code>/var/log/logfile.01</code> dosyasının sonuna eklenir. Ayın ikinci
+ günü bir günlük girişi yazıldığında, <code>/var/log/logfile.02</code>
+ kırpılır ve en üste yeni girdiler eklenir. Bu örnek, özel bir bakım
+ gerektirmeden yaklaşık 1 aylık günlük tutar.</p>
+
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="portability" id="portability">Taşınabilirlik</a></h2>
@@ -256,7 +285,7 @@
<a href="../fr/programs/rotatelogs.html" hreflang="fr" rel="alternate" title="Français">&nbsp;fr&nbsp;</a> |
<a href="../ko/programs/rotatelogs.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
<a href="../tr/programs/rotatelogs.html" title="Türkçe">&nbsp;tr&nbsp;</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">Yorum</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>
+</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">Yorumlar</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 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 Libera.chat, or sent to our <a href="https://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.4/programs/rotatelogs.html';
@@ -274,7 +303,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/programs/rotatelogs.
}
})(window, document);
//--><!]]></script></div><div id="footer">
-<p class="apache">Copyright 2019 The Apache Software Foundation.<br /><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> altında lisanslıdır.</p>
+<p class="apache">Copyright 2024 The Apache Software Foundation.<br /><a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a> altında lisanslıdır.</p>
<p class="menu"><a href="../mod/">Modüller</a> | <a href="../mod/directives.html">Yönergeler</a> | <a href="http://wiki.apache.org/httpd/FAQ">SSS</a> | <a href="../glossary.html">Terimler</a> | <a href="../sitemap.html">Site Haritası</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
if (typeof(prettyPrint) !== 'undefined') {
prettyPrint();