Added a debug logger for logging URLs (not yet used).