Working on getting logging working