newsyslog gone mad

Victor Sudakov vas at mpeks.tomsk.su
Wed Dec 26 03:48:37 UTC 2018


Jon Radel wrote:
> 
> > 
> > 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
> 

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.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20181226/f5f01da4/attachment.sig>


More information about the freebsd-questions mailing list