get logging working