Hi, You should be able to symlink /var/lib/varnish/test-jcornuwe/_.vsm to /usr/local/var/varnish/test-jcornuwe/_.vsm and Varnishlog will read it. I had the same problem recently but did not find how to point Varnishlog to the correct file without the temporary symlink fix.
Steven On Thu, Mar 21, 2013 at 10:21 AM, Julien Cornuwel <[email protected]>wrote: > Hi, > > I had varnish installed from debian packages. I removed it and compiled it > from source. Then I changed my mind again and reinstalled from package. I > know, I shouldn't have. > > Varnish works fine, but varnishlog doesn't. > > Lauched on its own, it looks for a file that was created by the source > install : > # /usr/bin/varnishlog > Cannot open /usr/local/var/varnish/test-jcornuwe/_.vsm: No such file or > directory > > If I try to force the correct file path : > # varnishlog -r /var/lib/varnish/test-jcornuwe/_.vsm > 0 Debug - "" > 0 Debug - "" > 0 Debug - "" > 0 Debug - "" > 0 Debug - "" > 0 Debug - "" > ... > > Said file is 84MB in size. > > I can't find a config file that would have been overwritten and have no > idea how to get varnishlog to work again. > If there is a simple way to make varnish write its logs to a file, I'll > take it. > > Any pointer? > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
