How to put varnishlog to one line
perbu at varnish-software.com
Tue Sep 18 09:12:11 CEST 2012
On Thu, Sep 13, 2012 at 5:14 AM, <z999666999 at gmail.com> wrote:
> I am pretty new to varnish. Sorry for newbie question.
> I use varnishlog -c -m 'TxStatus:50(2|3)' to get 502,503 errors. My
> question is:
> If I want this save to a file but all info should be on one line, how to
> do that?
You would have to come up with some perl or similar code to do that.
varnishlog won't do that out of the box. varnishncsa might, however, if
you can live with the limited data there.
Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
*Varnish makes websites fly!*
Whitepapers <http://www.varnish-software.com/whitepapers> |
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the varnish-misc