diff options
Diffstat (limited to 'docs/manual/programs/rotatelogs.html.en')
-rw-r--r-- | docs/manual/programs/rotatelogs.html.en | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/docs/manual/programs/rotatelogs.html.en b/docs/manual/programs/rotatelogs.html.en index 299b6604f4..90572eab4b 100644 --- a/docs/manual/programs/rotatelogs.html.en +++ b/docs/manual/programs/rotatelogs.html.en @@ -44,7 +44,7 @@ [ -<strong>v</strong> ] [ -<strong>e</strong> ] <var>logfile</var> - <var>rotationtime</var>|<var>filesize</var>(B|K|M|G) + <var>rotationtime</var>|<var>filesize</var>(B|K|M|G) [ <var>offset</var> ]</code></p> </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> <div class="section"> @@ -54,13 +54,13 @@ <dt><code>-l</code></dt> <dd>Causes the use of local time rather than GMT as the base for the -interval or for <code>strftime(3)</code> formatting with size-based +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 to the specified link name. This can be used to watch -the log continuously across rotations using a command like +the log continuously across rotations using a command like <code>tail -F linkname</code>.</dd> <dt><code>-p</code> <var>program</var></dt> @@ -117,7 +117,7 @@ period (midnight).</p> be sure the log file format has enough granularity to produce a different file name each time the logs are rotated. Otherwise rotation will overwrite the same file instead of starting a new -one. For example, if <var>logfile</var> was +one. For example, if <var>logfile</var> was <code>/var/logs/errorlog.%Y-%m-%d</code> with log rotation at 5 megabytes, but 5 megabytes was reached twice in the same day, the same log file name would be produced and log rotation would keep @@ -189,7 +189,7 @@ an offset.</dd> 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/logs/logfile 86400" common </code></p></div> @@ -221,11 +221,11 @@ extensions.</p> <tr><td><code>%m</code></td><td>2-digit month</td></tr> <tr class="odd"><td><code>%p</code></td><td>am/pm of 12 hour clock (localized)</td></tr> <tr><td><code>%S</code></td><td>2-digit second</td></tr> -<tr class="odd"><td><code>%U</code></td><td>2-digit week of year +<tr class="odd"><td><code>%U</code></td><td>2-digit week of year (Sunday first day of week)</td></tr> -<tr><td><code>%W</code></td><td>2-digit week of year +<tr><td><code>%W</code></td><td>2-digit week of year (Monday first day of week)</td></tr> -<tr class="odd"><td><code>%w</code></td><td>1-digit weekday +<tr class="odd"><td><code>%w</code></td><td>1-digit weekday (Sunday first day of week)</td></tr> <tr><td><code>%X</code></td><td>time (localized)</td></tr> <tr class="odd"><td><code>%x</code></td><td>date (localized)</td></tr> |