From ba15251035961020363fa5aff95ff0a361023af9 Mon Sep 17 00:00:00 2001 From: Silvan Jegen Date: Fri, 20 Jan 2017 20:00:46 +0100 Subject: Print filter module description as well --- conf/parser.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/conf/parser.go b/conf/parser.go index dfaa8dc..6aca3aa 100644 --- a/conf/parser.go +++ b/conf/parser.go @@ -53,10 +53,11 @@ func NewConfig(r io.Reader) *Config { } func (p *parser) startparsing() { - mdesc := p.module("input") - fmt.Fprintf(os.Stderr, "moduledesc: %#v\n", mdesc) + inputmdesc := p.module("input") + fmt.Fprintf(os.Stderr, "input moduledesc: %#v\n", inputmdesc) - p.module("filter") + filtermdesc := p.module("filter") + fmt.Fprintf(os.Stderr, "filter moduledesc: %#v\n", filtermdesc) } -- cgit v1.2.3