Date: Mon, 20 Feb 2012 17:24:25 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: newsyslog-local.conf Message-ID: <4F4281C9.9060601@infracaninophile.co.uk> In-Reply-To: <CAJxePNLROWxA4AtS2TNeTVRyWJPpazY_iS=hsKXMdbV3WQZbTQ@mail.gmail.com> References: <CAJxePNLROWxA4AtS2TNeTVRyWJPpazY_iS=hsKXMdbV3WQZbTQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On 20/02/2012 17:04, alexus wrote:
> s# tail -1 /etc/newsyslog.conf
> <include> /etc/newsyslog-local.conf
> s# cat /etc/newsyslog-local.conf
> /var/log/squid/access.log squid:squid 640 7 * @T00 J
> /var/run/squid/squid.pid
> /var/log/squid/cache.log squid:squid 640 7 * @T00 J
> s# ls -la /var/log/squid/
> total 95672
> drwxr-x--- 2 squid squid 512 Jan 13 04:23 .
> drwxr-xr-x 3 root wheel 1024 Feb 6 00:00 ..
> -rw-r----- 1 squid squid 97804783 Feb 20 16:32 access.log
> -rw-r----- 1 squid squid 111481 Feb 20 16:29 cache.log
> s#
>
> nothing gets rotated:( what am I doing wrong?
>
Hmmm... nothing leaps out at me as obviously wrong.
What does running 'newsyslog -n -v' tell you?
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk9CgdEACgkQ8Mjk52CukIztGgCfQQv927jAf3RzFGndpXlO9msQ
cTwAni7b+TvTDkWMR29D7AXP6ZVUhTc+
=PN6P
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4281C9.9060601>
