On Mon, Aug 27, 2012 at 4:03 AM, Flat Circle <[email protected]> wrote:

> Hello
>
> I just added
>
> 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;
>   # [...]
> }
>
> to my configuration to see the client IP in my Apache logs. So far so
> good...
>
> However, when view my Apache log file, I see the IP address twice.
>
> 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 "
>
> How can I prevent that the IP address will appear once?
>
> Regards.
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>


Check the LogFormat parameter in httpd.conf
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to