write uri into debugging log