On 14-9-2010 19:13, Ximin Luo wrote:
Your approach requires a lot of code duplication.
Olaf
run-parts a directory is hardly "a lot of code" :/
I said lots of duplication, not lots of code.
the middle man approach is cleaner and marginally easier to maintain than the
run-parts approach, but more costly to implement. i don't see the point in
waiting for logrotate to implement this, just to save a few bytes on the
webserver's logrotate script.
It's not about bytes.
if it eventually turns out that a lot of packages need this general feature, a
clean middle-man can be implemented later, and the logrotate developers will be
more likely to do it.
That's how all code duplication problems start...
Olaf
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]