Date: Mon, 04 Sep 2006 22:04:48 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ted Johnson <whatawonderfulworldweliveintoo@yahoo.com> Cc: Robert Huff <roberthuff@rcn.com>, freebsd-questions@freebsd.org Subject: Re: Where Are All These Files Located? Message-ID: <44FC94F0.1020306@infracaninophile.co.uk> In-Reply-To: <20060904165701.50356.qmail@web58409.mail.re3.yahoo.com> References: <20060904165701.50356.qmail@web58409.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig038AA0FD11C319CAA378537D Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Ted Johnson wrote: > Robert Huff <roberthuff@rcn.com> wrote:=20 > Ted Johnson writes: >=20 >> "BSD and FreeBSD: You should go to the /etc directory and edit=20 >> the /etc/daily, /etc/weekly, and /etc/monthly scripts and change the = >> 'rotate()' script function to change the log permissions on >> rotation." >=20 > "find -x / -name daily" should give you the answer. >=20 > Yeah, I tried that. It didn't work. Files must be referencing something= else, by different name. Any other ideas? They don't exist by default any more, but if you *create* /etc/{daily,weekly,monthly}.local, then they will get run as part of the appropriate periodic tasks. See: /etc/periodic/daily/999.local /etc/periodic/weekly/999.local=20 /etc/periodic/monthly/999.local grep _local /etc/defaults/periodic.conf However, why wouldn't you just setup /etc/newsyslog.conf to rotate your logfiles? Much simpler and cleaner. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig038AA0FD11C319CAA378537D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE/JT38Mjk52CukIwRCJfKAJ9dtorE3epnrLgHdgb2ytO9TkGLTQCeNTI7 G6vhuw2P9JBBoNxcedUZCec= =O1Er -----END PGP SIGNATURE----- --------------enig038AA0FD11C319CAA378537D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44FC94F0.1020306>