summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog/newsyslog.8
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-19 11:18:42 +0000
committerdd <dd@FreeBSD.org>2001-07-19 11:18:42 +0000
commit5a7c7bcbb68e5f582b58935720cf29d612ccf4eb (patch)
tree15a94131de87d7911172ee596af4613a6bae4a7c /usr.sbin/newsyslog/newsyslog.8
parent734109808b87fef2a6f5784952c72430b4a3c3a0 (diff)
downloadFreeBSD-src-5a7c7bcbb68e5f582b58935720cf29d612ccf4eb.zip
FreeBSD-src-5a7c7bcbb68e5f582b58935720cf29d612ccf4eb.tar.gz
Instead of giving an example of rotating logs at the end of the month,
give an example of how to rotate logs at the beginning of the month. Although they sound the same, since both of them rotate logs at the beginning of the day, the former ended up taking place on, e.g., July 31 00:00 instead of the expected July 31 23:59. This is contraty to POLA. Submitted by: Dan Langille <dan@langille.org>
Diffstat (limited to 'usr.sbin/newsyslog/newsyslog.8')
-rw-r--r--usr.sbin/newsyslog/newsyslog.85
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8
index a9798c7..0e96695 100644
--- a/usr.sbin/newsyslog/newsyslog.8
+++ b/usr.sbin/newsyslog/newsyslog.8
@@ -248,8 +248,9 @@ rotate every day at 23:00 hr
rotate every week on Sunday at 23:00 hr
.It Ar $W5D16
rotate every week on Friday at 16:00 hr
-.It Ar $MLD0
-rotate at the last day of every month at midnight
+.It Ar $M1D0
+rotate at the first day of every month at midnight
+(i.e., the start of the day)
.It Ar $M5D6
rotate on every 5th day of month at 6:00 hr
.El
OpenPOWER on IntegriCloud