On Wed, 27 Apr 2011, Rainer Gerhards wrote:
Hi all,
via the compatibility mode option (-c), rsyslog still supports legacy options
(like -t to start a tcp listener). This code complicates a couple of things
quite a bit, especially in regard to the config system.
I am very tempted to drop support for legacy options in v6. That could lead
to smaller and simpler code. Also, I think it is acceptable that someone
running v6 finally moves away from the sysklogd/rsyslog v1 style of
configuration via command line options.
I also noticed that the average user seems to have problems identifying where
each distro places the actual call to rsyslogd, so users seem to prefer
configuring all options inside the main configuration file (what I tend to
think to be more useful as well).
Does anyone has a good argument why to retain the legacy support in v6? If
so, please make yourself heard, because otherwise I'll probably drop that
support.
Distros tend to make it hard to fiddle with command-line parameters to
daemons, so I don't think there's a lot of reason to keep the old options.
there are some options that are relavent to use that do not have a config
equivalent (-x -4 to name just a couple), you may want to try and make
sure that there is a config version of all options (except for specifying
where the config file is ;-) and then consider dropping all of them
eventually. there will need to be some time for migration, so these extra
config options will need to get backported to v5 if you want to eliminate
the command-line options in v6
David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com