Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig7A2AB61FB142FACAC8DD971D
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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#
>=20
> nothing gets rotated:( what am I doing wrong?
>=20

Hmmm... nothing leaps out at me as obviously wrong.

What does running 'newsyslog -n -v' tell you?

	Cheers,

	Matthew

--=20
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


--------------enig7A2AB61FB142FACAC8DD971D
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig7A2AB61FB142FACAC8DD971D--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4281C9.9060601>