diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-10 12:41:56 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-10 12:41:56 +0200 |
commit | 38d3b04cd08119ce37dfee05e11e686ccc2bd4e7 (patch) | |
tree | 1a1b60d7d74397cd2db1748f559d729cb49133ff /plugins/imuxsock | |
parent | f33b122e43a391338296841abcaab6bc00c9dc33 (diff) | |
download | rsyslog-38d3b04cd08119ce37dfee05e11e686ccc2bd4e7.tar.gz rsyslog-38d3b04cd08119ce37dfee05e11e686ccc2bd4e7.tar.xz rsyslog-38d3b04cd08119ce37dfee05e11e686ccc2bd4e7.zip |
imuxsock: use CEE root for trusted properties
... in order to keep in line with current lumberjack schema
Diffstat (limited to 'plugins/imuxsock')
-rw-r--r-- | plugins/imuxsock/imuxsock.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/imuxsock/imuxsock.c b/plugins/imuxsock/imuxsock.c index 61ce857c..bb0e998f 100644 --- a/plugins/imuxsock/imuxsock.c +++ b/plugins/imuxsock/imuxsock.c @@ -879,7 +879,10 @@ SubmitMsg(uchar *pRcv, int lenRcv, lstn_t *pLstn, struct ucred *cred, struct tim parse++; lenMsg--; /* '>' */ if(json != NULL) { - msgAddJSON(pMsg, (uchar*)"!trusted", json); + /* as per lumberjack spec, these properties need to go into + * the CEE root. + */ + msgAddJSON(pMsg, (uchar*)"!", json); } if(ts == NULL) { |