Hi Russ,

In the Debian package, would it be possible to use "norotate" as
argument for news.daily (in sample inn2 crontab) and provide a
logrotate entry for standard Debian logrotate program?

I do not think so, since the two actions need to be coordinated.

Could news.daily do its analysis on the .0 version of the logs after being
rotated by logrotate?  Some coordination is still needed, but not a lot.

I have not thoroughly looked at the code but I do not see why news.daily/scanlogs could not use .0 versions. Yet, are we sure that logrotate will always generate these files? (If a user changes the configuration of logrotate, it could break log analysis.)

Would a new "rotate=<program>" option to news.daily be usable for Debian? We could then skip the rotation part of news.daily/scanlogs and run instead <program>.

rotate="logrotate inn2" may be used for Debian, with a proper /etc/logrotate.d/inn2 configuration file.

Does it sound good?
I can have a look at it, if it is usable by Debian (and probably other distributions, that have a similar logrotate program).

--
Julien ÉLIE

« Le travail n'est pas une bonne chose. Si ça l'était, les riches
  l'auraient accaparé. »



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to