newsyslog-local.conf
Matthew Seaman
m.seaman at infracaninophile.co.uk
Mon Feb 20 17:24:41 UTC 2012
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 at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120220/f5ccc244/signature.pgp
More information about the freebsd-questions
mailing list