making debug log