[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newsyslog not rotating a log file



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.