I sure hope I've come to the right place.
I want to anonymize IP addresses in log files (see here) while also rotating log files with Cronolog on Ubuntu 16.04.
This is a slight derivation of my current CustomLog entry:
CustomLog "|/usr/bin/python2.7 /var/www/anonip.py --output |/usr/bin/cronolog /var/www/test.mydomain/log/%Y-%m/access_%d.log" combined
It does work if I omit cronolog, but not with it. Does anyone know how to make this work? Alternatives are also appreciated. Thanks!