logger: use original URL even if the handler changes it