Thanx Per and Guillaume. From what I'm reading varnishncsa is exactly what I need. I'll try adding the extra header for HIT|MISS|PASS and hopefully it will work.
Albert On Tue, May 24, 2016 at 4:13 PM, Guillaume Quintard < [email protected]> wrote: > Hi Albert, > > I'm not familiar to w3c logging, but it looks to me that you are looking > for varnishncsa. The format string can be customized and the '-q' parameter > will allow you to filter out unwanted request. > > Also, you can use the std vmod and std.log() to fill a header with > HIT|MISS|PASS and retrieve that in varnishncsa. > > -- > Guillaume Quintard > > On Tue, May 24, 2016 at 12:47 PM, Albert Tollkuçi < > [email protected]> wrote: > >> Hello, >> I'm new to varnish and I'm setting up for some of the websites I manage. >> >> One of the difficulties I'm having is to debug it. I know that there's >> varnishlog, but it would be really helpful to have something similar to W3C >> logging for all request served by varnish. In addition to standard fields, >> there will be one extra field to show if the request was served from cache, >> from back-end, etc. >> >> Is there something like this or a way to have this kind of log? >> >> Thanx, >> Albert >> >> >> -- >> Web: http://www.tollkuci.com >> Follow me on: LinkedIn <http://www.linkedin.com/in/alberttollkuci> >> Google+ <https://plus.google.com/+AlbertTollku%C3%A7i/posts> Facebook >> <https://www.facebook.com/albert.tollkuci> Twitter >> <https://twitter.com/AlbertTollkuci> Career 2.0 >> <http://careers.stackoverflow.com/atollkuci> >> ------------------------------ >> >> Imagination is more important than knowledge >> *Albert Einstein* >> >> The three chief virtues of a programmer are: Laziness, Impatience and >> Hubris >> *Larry Wall* >> >> Men are basically smart or dumb and lazy or ambitious. The dumb and >> ambitious ones are dangerous and I get rid of them. The dumb and lazy ones >> I give mundane duties. The smart ambitious ones I put on my staff. The >> smart and lazy ones I make my commanders >> *Erwin Rommel* >> >> The best programmers are not marginally better than merely good ones. >> They are an order-of-magnitude better, measured by whatever standard: >> conceptual creativity, speed, ingenuity of design, or problem-solving >> ability. >> *Randall E. Stross* >> >> Measuring programming progress by lines of code is like measuring >> aircraft building progress by weight. >> *Bill Gates* >> >> _______________________________________________ >> varnish-misc mailing list >> [email protected] >> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >> > > -- Web: http://www.tollkuci.com Follow me on: LinkedIn <http://www.linkedin.com/in/alberttollkuci> Google+ <https://plus.google.com/+AlbertTollku%C3%A7i/posts> Facebook <https://www.facebook.com/albert.tollkuci> Twitter <https://twitter.com/AlbertTollkuci> Career 2.0 <http://careers.stackoverflow.com/atollkuci> ------------------------------ Imagination is more important than knowledge *Albert Einstein* The three chief virtues of a programmer are: Laziness, Impatience and Hubris *Larry Wall* Men are basically smart or dumb and lazy or ambitious. The dumb and ambitious ones are dangerous and I get rid of them. The dumb and lazy ones I give mundane duties. The smart ambitious ones I put on my staff. The smart and lazy ones I make my commanders *Erwin Rommel* The best programmers are not marginally better than merely good ones. They are an order-of-magnitude better, measured by whatever standard: conceptual creativity, speed, ingenuity of design, or problem-solving ability. *Randall E. Stross* Measuring programming progress by lines of code is like measuring aircraft building progress by weight. *Bill Gates*
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
