for WordPress
/sites/*/public/wp-content/*.log { weekly missingok rotate 4 compress copytruncate size 1024k postrotate endscript maxage 10 compresscmd /bin/bzip2 compressext .bz2 } /sites/*/public/assets/*.log { weekly missingok rotate 4 compress copytruncate size 1024k postrotate endscript maxage 10 compresscmd /bin/bzip2 compressext .bz2 }
for Nginx Log Sites
/sites/*/log/*.log { weekly missingok rotate 4 compress copytruncate size 1024k postrotate endscript maxage 10 compresscmd /bin/bzip2 compressext .bz2 }