On Mon, Aug 27, 2012 at 4:03 AM, Flat Circle <span dir="ltr"><<a href="mailto:flatcircle@hotmail.com" target="_blank">flatcircle@hotmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">Hello<br><br>I just added <br><br><pre>sub vcl_recv {
  # Add a unique header containing the client address
  remove req.http.X-Forwarded-For;
  set    req.http.X-Forwarded-For = client.ip;
  # [...]
}</pre>to my configuration to see the client IP in my Apache logs. So far so good...<br><br>However, when view my Apache log file, I see the IP address twice.<br><br>10.4.1.37, 10.4.1.37 - - [27/Aug/2012:12:09:00 +0200] "GET /sites/dev.local/themes/test/favicon.ico HTTP/1.1" 200 1406 "<br>

<br>How can I prevent that the IP address will appear once?<br><br>Regards.<br>                                           </div></div>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br><div><br></div><div>Check the LogFormat parameter in httpd.conf</div>