logging working, output duplicating though.
configured logging