Re: Log host info with uri

2011-09-27 Thread Baptiste
You might want to use capture request header host len 64

cheers

On Tue, Sep 27, 2011 at 11:46 PM, John Lauro
john.la...@covenanteyes.com wrote:
 Is there an easy way to have haproxy log the host with the uri instead of
 just the relative uri?  I have some 503 errors, and they are going to
 virtual hosts on the backend and I am having some trouble tracking them
 down…  and the uri isn’t specific enough as it is common among multiple
 hosts…  I’m sure this can be done, just having trouble figuring it out at
 the moment…









RE: Log host info with uri

2011-09-27 Thread John Lauro
Thanks, that worked.

 -Original Message-
 From: Baptiste [mailto:bed...@gmail.com]
 Sent: Tuesday, September 27, 2011 6:02 PM
 To: John Lauro
 Cc: haproxy@formilux.org
 Subject: Re: Log host info with uri

 You might want to use capture request header host len 64

 cheers

 On Tue, Sep 27, 2011 at 11:46 PM, John Lauro
 john.la...@covenanteyes.com wrote:
  Is there an easy way to have haproxy log the host with the uri instead
of
  just the relative uri?  I have some 503 errors, and they are going to
  virtual hosts on the backend and I am having some trouble tracking
them
  down…  and the uri isn’t specific enough as it is common among
multiple
  hosts…  I’m sure this can be done, just having trouble figuring it out
at
  the moment