18 Jun
2015
18 Jun
'15
6:48 a.m.
On Jun 18, 2015, at 5:51 AM, Peter Balsianok <balsianok.peter@gmail.com> wrote:
I want to log proxy request in the case of Access-Reject from proxy server
In the conf file (site-enables/default):
post-proxy { log_proxy_reply Post-Proxy-Type Fail-Authentication {
That's for "failed to get a reply the request". Not "the reply was Access-Reject". You want: post-proxy { ... if (proxy-reply:Packet-Type == Access-Reject) { log_proxy_request log_control } ... } Alan DeKok.