varnishncsa virtualhost ログ
varnishncsaでホスト毎にログを保存する – cat /dev/random > /dev/null &
varnishncsa -q "ReqHeader:Host ~ '^example.com$'"
virtualhost用のvarnishncsa起動スクリプト
https://github.com/kurita0/varnish4-freebsd/blob/master/rc.d/varnishncsa_vhost
/etc/rc.conf varnishncsa_vhost_enable="YES" varnishncsa_vhost_hostname="example.com"
ログ送信 syslog
https://siguniang.wordpress.com/2013/10/13/varnish-remote-logging-with-rsyslog-and-fluentd/
syslog送信用のvarnishncsa起動スクリプト
https://github.com/kurita0/varnish4-freebsd/blob/master/rc.d/varnishncsa_syslog
varnishncsa_syslog_enable="YES"