Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2012 12:52:05 -0500
From:      alexus <alexus@gmail.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: newsyslog-local.conf
Message-ID:  <CAJxePNL6zNmfHNYeiaCD8WAm%2BQnnPVrx1Rn-YtgugGE6DtJXUw@mail.gmail.com>
In-Reply-To: <4F42874B.3010404@infracaninophile.co.uk>
References:  <CAJxePNLROWxA4AtS2TNeTVRyWJPpazY_iS=hsKXMdbV3WQZbTQ@mail.gmail.com> <4F4281C9.9060601@infracaninophile.co.uk> <CAJxePNL%2B5UMr7SSqFsr5nH6w5EJF=YoDrnDecUnXdrFPA4SyTw@mail.gmail.com> <4F42874B.3010404@infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
what else I can do then?

i don't need syslogd..

this is vm, it runs nothing but squid, squid generates its own
logging, so no reason to run syslogd



On Mon, Feb 20, 2012 at 12:47 PM, Matthew Seaman
<m.seaman@infracaninophile.co.uk> wrote:
> On 20/02/2012 17:29, alexus wrote:
>> /var/log/squid/access.log <7J>: --> will trim at Tue Feb 21 00:00:00 201=
2
>> /var/log/squid/cache.log <7J>: --> will trim at Tue Feb 21 00:00:00 2012
>
> OK -- this looks fine. =C2=A0It should cycle the log files overnight.
>
> Presumably you first setup the cycling of the squid logfiles yesterday
> and your post was prompted by the logs not being recycled last night?
> (Yes, that's insultingly obvious, but worth eliminating as a possibility.=
)
>
>> Signal all daemon process(es)...
>> =C2=A0 =C2=A0 =C2=A0 sleep 10
>> s#
>>
>> one thing that I noticed:
>> newsyslog: pid file doesn't exist: /var/run/syslog.pid
>>
>> s# grep ^syslogd /etc/rc.conf
>> syslogd_enable=3D"NO"
>> s#
>>
>> does syslogd has be run for newsyslog to operate?
>
> No, syslogd doesn't /need/ to be running, but newsyslog assumes that a
> logfile is generated by syslogd unless configured otherwise -- ie. to
> signal the pid of a different process. =C2=A0You'll get errors like you'v=
e
> seen if syslogd isn't running, but they should be innocuous.
>
> Mind you, not running syslogd is a pretty unusual management decision;
> I'd turn it on if I were you, as it's the first recourse whenever
> anything goes wrong.
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Cheers,
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil. =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 7 Priory Courtyard
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey =C2=A0 =C2=A0 Ramsgate
> JID: matthew@infracaninophile.co.uk =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 Kent, CT11 9PW
>



--=20
http://alexus.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJxePNL6zNmfHNYeiaCD8WAm%2BQnnPVrx1Rn-YtgugGE6DtJXUw>