Thank you Ross, std.log() is the way. Albert
On Tue, May 24, 2016 at 10:21 PM, Ross Brown <[email protected]> wrote: > Have you looked at Varnishlog? > > > > https://www.varnish-cache.org/docs/trunk/reference/varnishlog.html > > > > To add custom events, you can use the std.log function, which is part of > vmod_std. > > > > > https://www.varnish-cache.org/docs/trunk/reference/vmod_std.generated.html?#func-log > > > > import std; > > > > sub vcl_recv { > > > > std.log (“Requested URL : “ + req.url); > > … > > > > > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of > *Albert > Tollkuçi > *Sent:* Tuesday, 24 May 2016 10:51 PM > *To:* [email protected] > *Subject:* VCL debugging > > > > 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. > > > > Thanx, > > Albert > > > > -- > > Web: http://www.tollkuci.com > > Follow me on: [image: > http://www.tollkuci.com/blog/IMAGES%2f2014%2f02%2flinkedin_icon.png.jpgx] > LinkedIn <http://www.linkedin.com/in/alberttollkuci> [image: > http://www.tollkuci.com/blog/IMAGES%2f2014%2f02%2fgoogleplus-icon.png.jpgx] > Google+ <https://plus.google.com/+AlbertTollku%C3%A7i/posts> [image: > http://www.tollkuci.com/blog/IMAGES%2f2014%2f02%2fFacebook_Icon.png.jpgx] > Facebook <https://www.facebook.com/albert.tollkuci> [image: > http://www.tollkuci.com/blog/IMAGES%2f2014%2f02%2fTwitterIcon.png.jpgx] > Twitter <https://twitter.com/AlbertTollkuci> [image: > http://www.tollkuci.com/blog/IMAGES%2f2014%2f02%2fcareers-icon.png.jpgx]Career > 2.0 <http://careers.stackoverflow.com/atollkuci> > ------------------------------ > > > -- 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> ------------------------------
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
