diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-02 15:36:20 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-02 15:36:20 +0200 |
commit | 2ef5dd47395ea3758f408cbbfa3ef37dd33ab615 (patch) | |
tree | 88a36387817b5f1630cff5492027dcd6c73af7c5 /runtime/rsyslog.h | |
parent | 0faec9628301e1fd9c57e220d2ad5485e52ced2f (diff) | |
download | rsyslog-2ef5dd47395ea3758f408cbbfa3ef37dd33ab615.tar.gz rsyslog-2ef5dd47395ea3758f408cbbfa3ef37dd33ab615.tar.bz2 rsyslog-2ef5dd47395ea3758f408cbbfa3ef37dd33ab615.zip |
mmjsonparse: also add MSG part of message if CEE-parsing fails
In that case, the CEE/lumberjack spec says MSG is NON-CEE and must
be treated accordingly. This means no JSON parsing happens. The case
is equal to missing CEE cookie.
Also adapted module to new interfaces provided by msg object.
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 ad5e54b4..4404c475 100644 --- a/runtime/rsyslog.h +++ b/runtime/rsyslog.h @@ -382,6 +382,7 @@ enum rsRetVal_ /** return value. All methods return this if not specified oth RS_RET_PARAM_NOT_PERMITTED = -2222, /**< legacy parameter no longer permitted (usally already set by v2) */ RS_RET_NO_JSON_PASSING = -2223, /**< rsyslog core does not support JSON-passing plugin API */ RS_RET_MOD_NO_INPUT_STMT = -2224, /**< (input) module does not support input() statement */ + RS_RET_NO_CEE_MSG = -2225, /**< the message being processed is NOT CEE-enhanced */ /**** up to 2300 is reserved for v6 use ****/ RS_RET_JNAME_NO_ROOT = -2301, /**< root element is missing in JSON path */ |