I want to get Varnish to log requests. I found the command varnishlog -a -w /var/log/varnish.log, but it does not log anything.
varnishlog -a -w /var/log/varnish.log
Then I found that Varnis
The files /etc/default/varnish* are deprecated in systems with systemd. just run these commands:
/etc/default/varnish*
systemctl enable varnishncsa.service systemctl start varnishncsa.service
you can also modify the daemon parameters in /lib/systemd/system/varnishncsa.service
/lib/systemd/system/varnishncsa.service