newsyslog gone mad
Jon Radel
jon at radel.com
Tue Dec 25 17:05:27 UTC 2018
>
> Here is the relevant line from /etc/newsyslog.conf:
> /usr/home/www/*/logs/* 644 24 * @01T00 GZ /var/run/httpd.pid
>
I’ve never tried this particular breakage in newsyslog, but generally it’s best to match only what you want to rotate. Try
> /usr/home/www/*/logs/*_log 644 24 * @01T00 GZ /var/run/httpd.pid
—Jon Radel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2553 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20181225/45c2cb4a/attachment.bin>
More information about the freebsd-questions
mailing list