File: varnishncsa.errors-only.conf

package info (click to toggle)
varnish 7.7.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,256 kB
  • sloc: ansic: 104,222; python: 2,679; makefile: 1,303; sh: 1,077; awk: 114; perl: 105; ruby: 41
file content (8 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
# Drop this file in /etc/systemd/system/varnishncsa.service.d/ and restart the
# service to log errors only.
#
# Run: "systemctl daemon-reload && systemctl restart varnishncsa"

[Service]
ExecStart=
ExecStart=/usr/bin/varnishncsa -a -w /var/log/varnish/varnishncsa.log -q 'RespStatus >= 429 or BerespStatus >= 500'