mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 11:40:42 +01:00
re-enable deprecated warings for omdiscard/omruleset
merge for action list functionality will follow soon
This commit is contained in:
parent
b1635a867e
commit
d82327c954
@ -165,12 +165,8 @@ CODE_STD_STRING_REQUESTparseSelectorAct(1)
|
||||
p += sizeof(":omruleset:") - 1; /* eat indicator sequence (-1 because of '\0'!) */
|
||||
CHKiRet(createInstance(&pData));
|
||||
|
||||
/* re-enable in v7.3: requires action list to support
|
||||
* action-like statements, something that is too late to
|
||||
* do in 7.1.
|
||||
errmsg.LogError(0, RS_RET_DEPRECATED, "warning: omruleset is deprecated, consider "
|
||||
"using the 'call' statement instead");
|
||||
*/
|
||||
|
||||
/* check if a non-standard template is to be applied */
|
||||
if(*(p-1) == ';')
|
||||
|
||||
@ -95,13 +95,9 @@ CODE_STD_STRING_REQUESTparseSelectorAct(0)
|
||||
|
||||
if(*p == '~') {
|
||||
dbgprintf("discard\n");
|
||||
/* re-enable in v7.3: requires action list to support
|
||||
* action-like statements, something that is too late to
|
||||
* do in 7.1.
|
||||
errmsg.LogError(0, RS_RET_DEPRECATED, "warning: ~ action "
|
||||
"is deprecated, consider using the 'stop' "
|
||||
"statement instead");
|
||||
*/
|
||||
} else {
|
||||
iRet = RS_RET_CONFLINE_UNPROCESSED;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user