Add debug message also to UrlResolver.

Also tweak message.