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-21 15:00:07 +0200
commit2f4292a81c2bf89b349f0e276c69616ac6e51164 (patch)
tree18c0c76d6e8eef5fefc2648002cdc7f21b57dd37
parentc78f1ef53835f38efa013a91dd89e36c60bc0891 (diff)
downloadrsyslog-2f4292a81c2bf89b349f0e276c69616ac6e51164.zip
rsyslog-2f4292a81c2bf89b349f0e276c69616ac6e51164.tar.gz
rsyslog-2f4292a81c2bf89b349f0e276c69616ac6e51164.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 994a902..32b8d56 100644
--- a/template.c
+++ b/template.c
@@ -1355,7 +1355,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] ");