[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: newsyslog not rotating a log file
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: newsyslog not rotating a log file
- From: Jim Breton <jamesb-openbsd_(_at_)_alongtheway_(_dot_)_com>
- Date: Sat, 18 Jan 2003 08:15:13 +0000
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
On Sat, Jan 18, 2003 at 01:54:14AM -0500, Chuck Yerkes wrote:
> Put the newsyslog.conf line alone in a file.
> Lets call it: "/tmp/testnsl.conf"
>
> Then run:
> newsyslog -f /tmp/testnsl.conf -v -n
>
> -n says "don't really do it"
> -v says be verbose about it.
>
> See what it says.
# cat /root/ns.conf
/var/log/kern 644 14 * 24 Z
# newsyslog -f /root/ns.conf -v -n
/var/log/kern <14Z>: age (hr): 27 [24] --> skipping
Same deal.
Visit your host, monkey.org