themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to reuse the same log rotation rule for multiple files in different locations

/var/log/httpd/*.log
/srv/www/**/*.log
{
  <rotation rule here>
}