VCL to send varnish 204s and greater than 399s logs to syslogs

Comments

1 comment

  • Jonathan Dade

    You can attach a condition to the logging endpoint which will only send this endpoint requests with those status codes.

    The actual condition would look like: resp.status == 204 || resp.status >= 400

Please sign in to leave a comment.