<div dir="ltr"><div><div><div><div>In varnish 3, I did the following to log odd errors to syslog:<br><br>        std.syslog((3*8)+5, "returning backend error page. client.ip is " + client.ip +<br>               " req.xid is " + req.xid +<br>               " req.url is " + req.url +<br>               " original url is " + req.http.originalurl +<br>               " beresp.status is " + beresp.status);<br><br></div>In varnish 4, vcl_backend_error does not have access to client.* or req.*, making this problematic at best.<br><br></div>The 'go to' solution seems to be an external log monitor... a daemonized version of varnishlog which filters out stuff like this.  Certainly doable, but this feels like a poor solution, compared with the above.<br><br></div>Am I missing something?<br><br></div>-Jason<br></div>