upstream: clarify debug messages
There are frequent questions "what does 'No proxy for ...' mean?" on the mailing list and IRC. Be more specific. (No upstream proxy ...) Correspondingly, log "Found upstream proxy ... for ..."
This commit is contained in:
parent
4b64de4c31
commit
4b75b634d9
@ -202,10 +202,10 @@ struct upstream *upstream_get (char *host, struct upstream *up)
|
|||||||
up = NULL;
|
up = NULL;
|
||||||
|
|
||||||
if (up)
|
if (up)
|
||||||
log_message (LOG_INFO, "Found proxy %s:%d for %s",
|
log_message (LOG_INFO, "Found upstream proxy %s:%d for %s",
|
||||||
up->host, up->port, host);
|
up->host, up->port, host);
|
||||||
else
|
else
|
||||||
log_message (LOG_INFO, "No proxy for %s", host);
|
log_message (LOG_INFO, "No upstream proxy for %s", host);
|
||||||
|
|
||||||
return up;
|
return up;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user