Hello,

On Tue, Feb 02, 2010 at 01:40:47PM +0100, Peter Griffin wrote:
> Hi, am getting these results in haproxy logs:
> 
> Feb  2 13:17:40 localhost haproxy[3245]:
> 10.10.10.62:54164[02/Feb/2010:13:17:40.774] load_balanced
> load_balanced/www1 -1/1/1/-1/4 0
> 715 - - ---- 0/0/0/0/0 0/0 "<BADREQ>"
> 
> I need to log the requests and I cannot understand why we are getting
> <BADREQ> instead of the actual request.

you're in "mode tcp", so haproxy does not wait for any request and
immediately forwards the data from the client to the server without
first copying the request to the log buffer. When it wants to log,
no request was logged, hence the "BADREQ".

I'll see if it can make sense to emit a warning in such a case.

Regards,
Willy


  • BADREQ Peter Griffin
    • Re: BADREQ Willy Tarreau

Reply via email to