diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-29 11:21:09 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-29 11:21:09 +0100 |
commit | 5e863f50de52780aebfc808ef44635900ab27909 (patch) | |
tree | f9f7a02fbbd048a52fac84eb033af25bd7b22b52 /runtime/rsyslog.h | |
parent | 60217da3968bcc62048f6afd4c8c77565789c3da (diff) | |
download | rsyslog-5e863f50de52780aebfc808ef44635900ab27909.tar.gz rsyslog-5e863f50de52780aebfc808ef44635900ab27909.tar.bz2 rsyslog-5e863f50de52780aebfc808ef44635900ab27909.zip |
bugfix: no error message for invalid string template parameters
rather a malformed template was generated, and error information emitted
at runtime. However, this could be quite confusing. Note that with this
"bugfix" user experience changes: formerly, rsyslog and the affected
actions properly started up, but the actions did not produce proper
data. Now, there are startup error messages and the actions are NOT
executed (due to missing template due to template error).
Diffstat (limited to 'runtime/rsyslog.h')
-rw-r--r-- | runtime/rsyslog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/rsyslog.h b/runtime/rsyslog.h index a826decb..c00b5d95 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -396,6 +396,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_RULESET_EXISTS = -2306,/**< ruleset already exists */ RS_RET_DEPRECATED = -2307,/**< deprecated functionality is used */ RS_RET_DS_PROP_SEQ_ERR = -2308,/**< property sequence error deserializing object */ + RS_RET_TPL_INVLD_PROP = -2309,/**< property name error in template (unknown name) */ /* RainerScript error messages (range 1000.. 1999) */ RS_RET_SYSVAR_NOT_FOUND = 1001, /**< system variable could not be found (maybe misspelled) */ |