summaryrefslogtreecommitdiffstats
path: root/doc/v7compatibility.html
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-11 15:36:55 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-11 15:36:55 +0200
commit2ae9e456db8991e61b4aa48cf9b74f6d20689ce4 (patch)
tree1102f1d13ccb5b1d6be651a02ff69049727addb5 /doc/v7compatibility.html
parenta208fcfc707c8c69b79e7623383a2c592d9f0741 (diff)
downloadrsyslog-2ae9e456db8991e61b4aa48cf9b74f6d20689ce4.tar.gz
rsyslog-2ae9e456db8991e61b4aa48cf9b74f6d20689ce4.tar.xz
rsyslog-2ae9e456db8991e61b4aa48cf9b74f6d20689ce4.zip
add deprecated note to discard action
Diffstat (limited to 'doc/v7compatibility.html')
-rw-r--r--doc/v7compatibility.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/v7compatibility.html b/doc/v7compatibility.html
index be89f666..692a4fe1 100644
--- a/doc/v7compatibility.html
+++ b/doc/v7compatibility.html
@@ -25,6 +25,23 @@ has been implemented. Consequently, situations where the previous behaviour were
desired need now to be solved differently. We do not think that this will cause any
problems to anyone, especially as in v6 this was announced as a missing feature.
+<h2>omruleset and discard (~) action are deprecated</h2>
+<p>Both continue to work, but have been replaced by better alternatives.
+<p>The discard action (tilde character) has been replaced by the "stop"
+RainerScript directive. It is considered more intuitive and offers slightly
+better performance.
+<p>The omruleset module has been replaced by the "call" RainerScript directive.
+Call permits to execute a ruleset like a subroutine, and does so with much
+higher performance than omruleset did. Note that omruleset could be run off
+an async queue. This was more a side than a desired effect and is not supported
+by the call statement. If that effect was needed, it can simply be simulated by
+running the called rulesets actions asynchronously (what in any case is the right
+way to handle this).
+<p>Note that the deprecated modules emit warning messages when being used.
+They tell that the construct is deprecated and which statement is to be used
+as replacement. This does <b>not</b> affect operations: both modules are still
+fully operational and will not be removed in the v7 timeframe.
+
<p><font size="2">This documentation is part of the
<a href="http://www.rsyslog.com/">rsyslog</a> project.<br>
Copyright &copy; 2011-2012 by <a href="http://www.gerhards.net/rainer">Rainer Gerhards</a> and