newsyslog-local.conf
alexus
alexus at gmail.com
Mon Feb 20 17:04:06 UTC 2012
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?
--
http://alexus.org/
More information about the freebsd-questions
mailing list