Hi, On Fri, Feb 15, 2013 at 10:39:14AM -0500, Chris Burroughs wrote: > I'm trying to debug an issue with 505 (version not being supported) > being returned. It *looks* from the logs like the request was truncated: > * "GET /very-long-url (with no version or ending quote) > > However, after reading > http://code.google.com/p/haproxy-docs/wiki/HTTPLogFormat "This field > might be truncated if the request is huge and does not fit in the > standard syslog buffer (1024 characters)" Is it possible to configure > this 1024 limit, or at least confirm if it is occurring?
It was meant to be configurable but it is not yet. It's defined by MAX_SYSLOG_LEN for the largest log line, and REQURI_LEN for the largest request line. You can change the first one in include/types/log.h and the second one in include/common/defaults.h. Don't push the second one too high, as each session allocates one so you probably don't want to allocate 10kB per session ! Willy

