From 4b75b634d9b705c531d5080b64a95656f5e1ace2 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 24 Aug 2010 22:46:10 +0200 Subject: [PATCH] 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 ..." --- src/upstream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/upstream.c b/src/upstream.c index 3966f06..6b25f9b 100644 --- a/src/upstream.c +++ b/src/upstream.c @@ -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; }