From: Fabian Keil <fk@fabiankeil.de>
Date: Fri, 7 Dec 2012 12:50:37 +0000 (+0000)
Subject: Downgrade a log message in change_request_destination()
X-Git-Tag: v_3_0_20~143
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@protocol@@hostport@@force-prefix@@path@?a=commitdiff_plain;h=30defd42c45101d6bb8592862cebc30891321fed;p=privoxy.git

Downgrade a log message in change_request_destination()
---

diff --git a/jcc.c b/jcc.c
index 33e406e8..2a8b02cf 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.419 2012/12/07 12:43:55 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.420 2012/12/07 12:45:20 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -911,7 +911,8 @@ static jb_err change_request_destination(struct client_state *csp)
    struct http_request *http = csp->http;
    jb_err err;
 
-   log_error(LOG_LEVEL_INFO, "Rewrite detected: %s", csp->headers->first->str);
+   log_error(LOG_LEVEL_REDIRECTS, "Rewrite detected: %s",
+      csp->headers->first->str);
    free_http_request(http);
    err = parse_http_request(csp->headers->first->str, http);
    if (JB_ERR_OK != err)