On 2 Sep 2013, at 06:30, Caio Tedim wrote:

> I´m facing some problem to logging client source port in varnishncsa.
> 
> Eg: httpd: %{remote}p 
>       nginx: $remote_port
> 
> Anyone know if it´s possible to logging this?

Yes it is; you want %h

See here for the full list of variables:

  https://www.varnish-cache.org/docs/3.0/reference/varnishncsa.html


_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to