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:
Michael Adam committed 2010-08-24 22:50:48 +02:00
1 parent 4b64de4c31
commit 4b75b634d9
1 file changed
+2 -2
+2 -2
View File
@@ -202,10 +202,10 @@ struct upstream *upstream_get (char *host, struct upstream *up)
up = NULL;
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);
else
log_message (LOG_INFO, "No proxy for %s", host);
log_message (LOG_INFO, "No upstream proxy for %s", host);
return up;
}