logging working