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>
index | next in thread | previous in thread | raw e-mail
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 2012 >> /var/log/squid/cache.log <7J>: --> will trim at Tue Feb 21 00:00:00 2012 > > OK -- this looks fine. It 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)... >> 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="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. You'll get errors like you've > 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. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > -- http://alexus.org/help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJxePNL6zNmfHNYeiaCD8WAm%2BQnnPVrx1Rn-YtgugGE6DtJXUw>
