On Tue, May 05, 2009 at 01:58:59PM +0200, Matthijs Kooijman wrote: > This automatic creation is needed to support my dynamic logging > environment: I have syslog files for different hosts, each of which have > their own olddirs. Since directories for new hosts can be created at any > time, I can't statically create the olddirs, so autocreation of these > dirs would be needed (though I just realized that a script like > for i in /foo/*; do mkdir -p $i/archive; done > would also do the trick, though it is slightly less elegant...)
Surely when you're creating the conffile fragment for logrotate to use, you can also make the corresponding olddir directory? -- Paul Martin <[email protected]> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

