diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-08 18:02:37 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-08 18:02:37 +0100 |
commit | 12a410157346e6b970293bfe1d4b77a9eb0aacdb (patch) | |
tree | 352428ed8db6ff6f51c29f5086490a8b0834262c | |
parent | 00edf1573fc240a78e2516b0945ce41167c5977d (diff) | |
parent | b05d4a6db4cc7a0e7a8f4efdb30c784f51b15f2e (diff) | |
download | rsyslog-12a410157346e6b970293bfe1d4b77a9eb0aacdb.tar.gz rsyslog-12a410157346e6b970293bfe1d4b77a9eb0aacdb.tar.bz2 rsyslog-12a410157346e6b970293bfe1d4b77a9eb0aacdb.zip |
Merge branch 'v6-stable' into v7-stable
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | template.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -170,6 +170,7 @@ Version 6.6.1 [v6-stable] 2012-10-?? - fix API "glitch" in some plugins This did not affect users, but could have caused trouble in the future for developers. +- bugfix: no error msg on invalid field option in legacy/string template --------------------------------------------------------------------------- Version 6.6.0 [v6-stable] 2012-10-22 This starts a new stable branch, based on the 6.5.x series, plus: @@ -731,7 +731,8 @@ static void doOptions(unsigned char **pp, struct templateEntry *pTpe) } else if(!strcmp((char*)Buf, "mandatory-field")) { pTpe->data.field.options.bMandatory = 1; } else { - dbgprintf("Invalid field option '%s' specified - ignored.\n", Buf); + errmsg.LogError(0, NO_ERRCODE, "template error: invalid field option '%s' " + "specified - ignored", Buf); } } |