]> git.kaiwu.me - haproxy.git/commit
MEDIUM: log: support a user-configurable max log line length
authorWilly Tarreau <w@1wt.eu>
Fri, 27 Jun 2014 16:10:07 +0000 (18:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 Jun 2014 16:13:53 +0000 (18:13 +0200)
commit18324f574f349d510622ff45635de899437a3a11
tree9c1d121298bd9414a571501713378fabbd647a86
parent4e957907aa117c07214ab84ba2a58f2fc1666931
MEDIUM: log: support a user-configurable max log line length

With all the goodies supported by logformat, people find that the limit
of 1024 chars for log lines is too short. Some servers do not support
larger lines and can simply drop them, so changing the default value is
not always the best choice.

This patch takes a different approach. Log line length is specified per
log server on the "log" line, with a value between 80 and 65535. That
way it's possibly to satisfy all needs, even with some fat local servers
and small remote ones.
doc/configuration.txt
include/proto/log.h
include/types/global.h
include/types/log.h
src/cfgparse.c
src/log.c