Date: Wed, 26 Dec 2018 10:48:34 +0700 From: Victor Sudakov <vas@mpeks.tomsk.su> To: freebsd-questions@freebsd.org Subject: Re: newsyslog gone mad Message-ID: <20181226034834.GA93222@admin.sibptus.ru> In-Reply-To: <976B9918-6BA0-428C-ABC3-6FBE0498D1F0@radel.com> References: <20181225133944.GA75676@admin.sibptus.ru> <976B9918-6BA0-428C-ABC3-6FBE0498D1F0@radel.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--ZPt4rx8FFjLCG7dd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jon Radel wrote: >=20 > >=20 > > Here is the relevant line from /etc/newsyslog.conf: > > /usr/home/www/*/logs/* 644 24 * @01T00 GZ /var/r= un/httpd.pid > >=20 > I=E2=80=99ve never tried this particular breakage in newsyslog, but gener= ally it=E2=80=99s best to match only what you want to rotate. Try >=20 > > /usr/home/www/*/logs/*_log 644 24 * @01T00 GZ /va= r/run/httpd.pid >=20 Thank you Jon, this is probably where I shot myself in the foot. I had expected newsyslog to have precations about rotating files which are already rotated, but I had better not. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --ZPt4rx8FFjLCG7dd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJcIvoSAAoJEA2k8lmbXsY0y2IH/i8eI77ikSRY76P3D0DTwCdr /r39Sg8SmOBGyd0Lj65Rg0G5Y60vv2jpqEVTG0ra7Xcj1gNYSAMmAG9YXeSDDtxT OAD2CJterdM9siHMYLoo36BcQ0Et1qQDG0Pz54IjpIVNYN07HsxI8e0hhsHg9GtA QAw7tS3X/9016wc7W6qOyC9F4rGyLPz6IqhBjkpyyb5Fd1cP5BU4Unzw+q+woZe5 n5joioHPG0F5EIACz961lYQzcgReTgWURXk0oKTBI+IYB52AhJqBB5egHEfI9k/t 9teUH38gtyzCnwkp34SbuUfoInrJe6SAX/KjUs02J9w04OIRRkSpENPtIOyBVqc= =tulk -----END PGP SIGNATURE----- --ZPt4rx8FFjLCG7dd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181226034834.GA93222>