VCL debugging

Per Buer perbu at varnish-software.com
Tue May 24 18:24:46 CEST 2016


On Tue, May 24, 2016 at 12:51 PM, Albert Tollkuçi <albert.tollkuci at gmail.com
> wrote:

> Hi everyone,
> is there a way to log some info from vcl config file? It would help a lot
> to log some info on a file to check if the configuration is correct or not.
>

import std;
(..)

std.log("X-Foo is " + req.http.x-foo);

-- 
*Per Buer*
CTO | Varnish Software AS
Cell: +47 95839117
We Make Websites Fly!
www.varnish-software.com
<http://info.varnish-software.com/signature>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160524/34d6ba9d/attachment.html>


More information about the varnish-misc mailing list