Log rotation with automatic *.log file discovery
- by Mikko Ohtamaa
I am hosting several websites which each of run their own Python process and write *.log output files, but the directory structure is not standardized.
Example:
-rw-r--r-- 1 plone plone 125M 2012-08-29 11:35 ./x/var/log/instance-Z2.log
-rw-r--r-- 1 plone plone 19M 2012-08-29 00:07 ./zope2.9/y/log/event.log
-rw-r--r-- 1 plone …