Access Log

Florian Engelhardt f.engelhardt at 21torr.com
Fri Mar 28 10:50:45 CET 2008


Hello,

i have a question about access loggin in varnish. On the "old"
environment we had just a plain lighttpd on port 80 an its logfile.
When caching via varnish in the "new" environment, most of the requests
will not hit lighttpd and will therefor not show up in its access.log
file. Is there any way to create a access.log file similar to the one
that lighty creates, via varnishlog?
Or do i have to log everything via varnishlog and create that access.log
maybe via a cronjob?

Kind regards

Flo

PS: Lighty acces.log entry looks as follows:
127.0.0.1 server.net - [10/Mar/2008:11:48:12 +0100] "GET /server-status HTTP/1.1" 200 4671 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080213 BonEcho/2.0.0.12"



More information about the varnish-misc mailing list