Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2010 18:14:49 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Paul Hoffman <phoffman@proper.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: newsyslog not reading /ect/rc.conf arguments?
Message-ID:  <87zl0efkie.fsf@kobe.laptop>
In-Reply-To: <p0624085bc80737ee60c3@[10.20.30.158]> (Paul Hoffman's message of "Wed\, 5 May 2010 08\:01\:26 -0700")
References:  <p0624085bc80737ee60c3@[10.20.30.158]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 5 May 2010 08:01:26 -0700, Paul Hoffman <phoffman@proper.com> wrote:
> Greetings again. Running FreeBSD 8.0, I have added the following to /etc/rc.conf:
>
>   newsyslog_flags="-a /usr/old-log/"
>
> I have stopped and started newsyslog. However, the rotated logs are
> still being written into /var/log. No errors appear in
> /var/log/messages or in dmesg.

How did you start newsyslog?  There's an rc.d script that should *read*
the flags from rc.conf:

    /etc/rc.d/newsyslog start




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87zl0efkie.fsf>