On Tue, May 24, 2016 at 12:51 PM, Albert Tollkuçi <[email protected]
> 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>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to