setting up debugging log