-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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. Best, Geoff - -- ** * * UPLEX - Nils Goroll Systemoptimierung Schwanenwik 24 22087 Hamburg Tel +49 40 2880 5731 Mob +49 176 636 90917 Fax +49 40 42949753 http://uplex.de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (SunOS) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCAAGBQJPHqyuAAoJEOUwvh9pJNUR2CgQAJNtFC9alnKd3Wk7bMXLYygS VhVj5meJbar7DETYNxftIXnIW/v45tuLIDNhk2I0HBUSc+xD2iwtyidWflioxhdh 5BNLTOsLRWGxMt5Qx/IbQvEGXycWle3mPLyyy1hgwBuPW9lT430++lW/bCJGU0Kz ufdbWBrtYEfXp1O8vkce26QNYRhE6AOIyV/r+hWp5q6PcZC1tPeDpzEz/8gmT0A9 9OnWZqoo8gwLoTThADFLlrnJPeDzzet5UD9wCDWp+TnsJx4E9iWZU6VmzrkQ3RFe MkBKFDSjsoL9aXLNlpBz872O6stfOy65C4jK2pfJUC5RpZiu/lMEbZw2Cxjufch0 7FzmJ/EN02mBSttxAWoLh5ae8aKlcOMmgcf7rqYLzW8hi6rUFrJajDSQItQraHde gklSYm4Fr7bNvVJxGwdPw9ZbjgjLZjV94cF+AL41qncXbBYjtet98qWQiJir9U4B tEVaectqfsZHrx9gbvEQoknL7SyWF8P+8NilQVooq18ruIVuhhYSF7DU8eZOuEOQ y/d3EYZMHfSxAQkqKCwCQ65Y+axC2v3R1C0IaCcrfbKKT9Ji7jtHoZinaCEjgVaz uUMno0S4a3rZdPxDKz5g78jq386TI6pKt5Hs5jj6EpIXzswHjcm6NVnrbXq9iioz 9kUn/N/3/eMDSwT8l2gR =+QoB -----END PGP SIGNATURE----- _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
