geoff at uplex
Jan 24, 2012, 5:05 AM
Post #2 of 2
-----BEGIN PGP SIGNED MESSAGE-----
Re: What errors does "varnishlog -i Error" actually log?
[In reply to]
On 01/24/12 11:59 AM, Yavor Atanasov wrote:
> I have a couple of questions regarding varnishlog tags. We would like use
> varnishlog to record only certain logs from varnish, mostly errors.
> My first question is - what types of errors does actually " varnishlog -i
> Error " display? I am asking because I can't seem to be able to trigger one
> that would be recorded with this tag. The vcl_error subroutine doesn't seem
> to fall into that category, and also running out of session workspace
> doesn't either. What errors does this tag actually log?
Searching in the current development trunk:
$ find . -name *.c | xargs grep SLT_Error
./bin/varnishd/cache/cache_vary.c: WSP(sp, SLT_Error, "Vary header had
extra ':', fix backend");
The extra ':' in Vary is evidently the only case.
> My other question is regarding the HttpError tag - " varnishlog -i
> HttpError ". That is documented as an available tag in the man pages for
> varnishlog, but when I try to run varnishlog with that option it says this
> tag does not exist:
> Could not match "HttpError" to any tag
> usage: varnishlog [-bCcd] [-i tag] [-I regexp] [-k keep] [-r file] [-s
> skip] [-X regexp] [-x tag] [-aDoV] [-n varnish_name] [-P file] [-w file]
The same grep for HttpError doesn't yield any hits, so it looks like the
documentation is out of date.
** * * UPLEX - Nils Goroll Systemoptimierung
Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
varnish-misc mailing list
varnish-misc [at] varnish-cache