varnishlog not behaving as expected (by me)
Kristian Lyngstol
kristian at redpill-linpro.com
Mon Jan 25 14:26:26 CET 2010
On Wed, Jan 13, 2010 at 11:24:07AM +0000, Alex Hooper wrote:
> I'm having a bit of trouble using varnishlog. I am using:
>
> /usr/local/bin/varnishlog -o RxURL "^wp-admin$"
All your urls start with /, so that will never match. Try "^/wp-admin" and
you should have better luck.
(...)
> '/usr/local/bin/varnishlog' -i RxURL shows me the requests coming in.
> '/usr/local/bin/varnishlog -i RxURL|grep wp-admin' shows that there are
> generally no requests for wp-admin.
Use the above approach instead. And how much traffic do you have? When you
pipe it (for instance to grep), varnishlog will be buffered.
--
Kristian Lyngstøl
Redpill Linpro AS
Mob: +47 99014497
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20100125/acc04bbf/attachment-0003.pgp>
More information about the varnish-misc
mailing list