def log_request(self, req: HttpRequest) -> None:
        """Log request details via logging system."""
        proxy_info = (
            " via proxy {}://{}{}".format(
                req.proxy_type, req.proxy, " with auth" if req.proxy_userpwd else ""
            )
            if req.proxy
            else ""
        )
        LOG.debug("%s %s%s", req.method or "GET", req.url, proxy_info)
Log request details via logging system.
grab/transport.py