print final url to log file in debug mode