[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-misc
Subject: varnishlog not behaving as expected (by me)
From: kristian () redpill-linpro ! com (Kristian Lyngstol)
Date: 2010-01-25 13:26:26
Message-ID: 20100125132624.GB7792 () kjeks ! varnish-software ! com
[Download RAW message or body]
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 : http://projects.linpro.no/pipermail/varnish-misc/attachments/20100125/acc04bbf/attachment.pgp
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic