]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: log: use log_format for mode tcplog
authorWilliam Lallemand <wlallemand@exceliance.fr>
Mon, 27 Feb 2012 10:23:10 +0000 (11:23 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 12 Mar 2012 14:47:13 +0000 (15:47 +0100)
commitbddd4fd93b8d9e77aeeae19440f6343d7327c195
treeafc7baf7d8538ab2411e610f05ff9f2472e34837
parentad4cd589865d4f79d5ff1f068f40ff4c488077cd
MEDIUM: log: use log_format for mode tcplog

Merge http_sess_log() and tcp_sess_log() to sess_log() and move it to
log.c

A new field in logformat_type define if you can use a logformat
variable in TCP or HTTP mode.

doc: log-format in tcp mode

Note that due to the way log buffer allocation currently works, trying to
log an HTTP request without "option httplog" is still not possible. This
will change in the near future.
doc/configuration.txt
include/proto/log.h
src/cfgparse.c
src/frontend.c
src/log.c
src/proto_http.c