diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-08 18:02:23 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-11-08 18:02:23 +0100 |
commit | b05d4a6db4cc7a0e7a8f4efdb30c784f51b15f2e (patch) | |
tree | c19620c123c74c32c016cc0496cb97fb1af071c9 /template.c | |
parent | 8995034e5a17f58445b69fe97b64ba5c46b5dccf (diff) | |
download | rsyslog-b05d4a6db4cc7a0e7a8f4efdb30c784f51b15f2e.tar.gz rsyslog-b05d4a6db4cc7a0e7a8f4efdb30c784f51b15f2e.tar.bz2 rsyslog-b05d4a6db4cc7a0e7a8f4efdb30c784f51b15f2e.zip |
bugfix: no error msg on invalid field option in legacy/string template
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -666,7 +666,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); } } |