Tuesday, June 12, 2012

Collect varnish log using syslog-ng

Start the varnishd daemon,
image
then run varnishlog to see the heartbeat checking
image

run varnishncsa to get the apache like request log if you send some request
image

image

if using ab to send a lot request, you will see more log entries without surprise.
add one program to the source list,
image
then you will see the request log in the destination file.
image

No comments:

 
Locations of visitors to this page