summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-08-24 22:46:10 +0200
committerMichael Adam <obnox@samba.org>2010-08-24 22:46:10 +0200
commit52cad36352bd6c9162744ba20c0ead8c768991e8 (patch)
tree3dd1133e6131d4bbf0731b4a01217a53494eebf5
parent691415a8f9eec3e46157ea77b8b3cfd4e247fcd4 (diff)
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 ..."
-rw-r--r--src/upstream.c4
1 files 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;
}