rsyslog error 2307

Deprecated functionality is used.

This is a warning message emitted when some deprecated config file commands are used. The actual message that accompanies this error code tells the details. Note that while the statement is deprecated, it continues to work. However, it may no longer work in later versions, so it generally is a good idea to replace it with it’s newer equivalent.

Examples in v7 are the discard action (~ indicator), which has been replaced by the (better) alternative “stop” statement as well as omruleset, which has been replaced by the (much better) “call” statement.

This is a stub entry: If you have questions please post a comment or visit the github issue tracker.

4 thoughts on “rsyslog error 2307

  1. Deprecation of the ~ indicator is stupid and pointless. Specifying the word \”STOP\” for the same behavior is fine, but deprecating the equivalent indicator yields absolutely no benefit. It instead harms, and here is how. As you are no doubt aware, RedHat 6 systems continue to to use the 5.8.10 series, and will continue to do so for a long time. Due to massive overhead and risk in migrating from RHEL 6 to RHEL 7, there is no motivation to do so. However, centralized config management systems cannot so easily be catered at every level to distinguish between RHEL 6 and RHEL 7 systems, and thus shared configurations must sometimes be used. We recently lost hours of work when an engineer converted all the ~ to STOP, only for another engineer to painstakingly realise that the older version wants to treat \”STOP\” as a user to send broadcasts to.

    We are very annoyed at the \”Deprecation\” message issued in v8, and more concerned the supported behavior will stop. Please un-deprecate this symbol. If somehow this symbol blocks your freedom to do more interesting things with the configuration script, please consider using a versioned parser so that backward incompatibilities can be contained in their own files. See https://perldoc.perl.org/functions/use.html as an example.

Leave a Reply

Scroll to top