On Thu 12 Mar 2009, Paul Martin wrote: > On Thu, Mar 12, 2009 at 04:29:47PM +0100, Paul Slootman wrote: > > > It would be great if an environment variable was made available to the > > postrotate script so that the script can do something relevant to it. > > Something like LOGROTATED_LOG for example... This would then contain the > > name of the rotated log (including the .gz if nodelaycompress is in > > force). > > The name of the file rotated is passed as an argument to the script.
Hmm, I thought the unexpanded string was passed, e.g. "/var/log/apache2/*.log", not the individual filenames. I'll test this tonight. Thanks! Paul Slootman -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org