Because of an omission when copying cur_block fields to new_output while processing a "logdir" config line, the "postrotate_cmd" option has no effect if it occurs before "logdir" in a block.
This is particularly a problem because it means specifying a "postrotate_cmd" in the default options section, where there is not normally a "logdir" option at all, has no effect.
This simple addition...
2009-10-27 10:58:30 UTC in Metalog