This is from an IRC discussion: 09 22:48 < mbiebl> madduck: at first sight, I don't really like the idea 09 22:48 < madduck> yeah, neither do I 09 22:48 < madduck> but it's a good feature to have, and between that and the backwards-compatible format of the file, I am not sure there's anything better 09 22:48 < mbiebl> just use dateext 09 22:49 < madduck> that just seems like a hack 09 22:49 < mbiebl> why 09 22:49 < madduck> write to a log file, rotate it to a dateext at a time that's not midnight, tell the syslog daemon to open a new file 09 22:49 < madduck> when instead the syslog daemon could just write to the per-day file directly. 09 22:51 < madduck> and it would be trivial to have another config file that controlled a cron process to clean old files 09 22:51 < madduck> e.g. mail.log:730\nsyslog:30\ndebug.log:7 09 22:51 < mbiebl> I don't really get it, why the dynfile support is not sufficient for you 09 22:51 < madduck> because then i have to modify /etc/rsyslog.conf 09 22:52 < mbiebl> so? 09 22:52 < madduck> it means that every upgrade, i will have to migrate my changes 09 22:52 < madduck> (if you change the file) 09 22:52 < madduck> i am just thinking in terms of maintenance 09 22:52 < madduck> sure, i can use puppet 09 22:53 < madduck> but i really prefer not to and rather to try to improve debian. ;) 09 22:52 < mbiebl> fwiw there is a wishlist bug to split the rules files from the config 09 22:53 < mbiebl> and I'm considering to do just that 09 22:53 < madduck> mbiebl: yeah, but that won't solve the fundamental problem 09 22:53 < madduck> i'd like to change the way rsyslog behaves by adding a file to /etc/rsyslog.d 09 22:53 < madduck> not by changing dpkg-installed filrs 09 22:53 < mbiebl> well, then you can just rm /etc/rsyslog.d/logging_rules.conf 09 22:54 < madduck> but then i'd have to maintain my own rules 09 22:54 < mbiebl> and define your custom log files 09 22:54 < madduck> when instead i'd like to just take the existing rules and mangle the log filenames
-- .''`. martin f. krafft <madd...@d.o> Related projects: : :' : proud Debian developer http://debiansystem.info `. `'` http://people.debian.org/~madduck http://vcs-pkg.org `- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)