오래전 이야기/Varnish 3

Varnish 로그 포맷 변경

varnish 는 특이하게 로그를 남기지 않는다. 이건 좀 아니지 싶다. 아무리 잘 동작한다고 해도 로그는 봐야 하기 때문이다. 로그를 보기 위해서는 두가지 방법이 있다. 1. /usr/local/varnish/bin/varnishlog -D -a -w /var/log/varnish.log tail -f /var/log/varnish.log GET /lgcyon/flash/xml/main.jsp HTTP/1.1 Accept: */* Accept-Language: ko-KR9 Referer: http://www.cyon.co.kr/lgcyon/flash/cyon_main.swf -flash-version: 10,0,22,87 UA-CPU: x86 Accept-Encoding: gzip, deflateR U..