summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2012-08-11 09:48:10 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-26 12:20:32 +0200
commite1753e3dd1b03f2ca8863bbaee3ab799dca4932e (patch)
tree798098f273cfe00193416a7fa16c1e5f11808735
parent2f7586bbe415318c35b9ec6d4680c81d443a6660 (diff)
downloadrsyslog-e1753e3dd1b03f2ca8863bbaee3ab799dca4932e.zip
rsyslog-e1753e3dd1b03f2ca8863bbaee3ab799dca4932e.tar.gz
rsyslog-e1753e3dd1b03f2ca8863bbaee3ab799dca4932e.tar.xz
Fix printing of some template options
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
-rw-r--r--template.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/template.c b/template.c
index a80ac6f..e80015d 100644
--- a/template.c
+++ b/template.c
@@ -1364,7 +1364,10 @@ void tplPrintList(rsconf_t *conf)
dbgprintf("[format as CSV (RFC4180)]");
}
if(pTpe->data.field.options.bJSON) {
- dbgprintf("[format as JSON");
+ dbgprintf("[format as JSON] ");
+ }
+ if(pTpe->data.field.options.bJSONf) {
+ dbgprintf("[format as JSON field] ");
}
if(pTpe->data.field.options.bDropLastLF) {
dbgprintf("[drop last LF in msg] ");