]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: log: suffix the frontend's name with '~' when using SSL
authorWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2012 12:56:11 +0000 (14:56 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 12 Oct 2012 12:56:11 +0000 (14:56 +0200)
commit773d65f413cfb91759046ba2cf99e9e76dd87264
tree99a38a1640f7153bcbaa19c04cf56c69005110e7
parentfd33a26d755cc4c4eaf4a474b6ee351abb4275ad
MEDIUM: log: suffix the frontend's name with '~' when using SSL

Until now it was not possible to know from the logs whether the incoming
connection was made over SSL or not. In order to address this in the existing
log formats, a new log format %ft was introduced, to log the frontend's name
suffixed with its transport layer. The only transport layer in use right now
is '~' for SSL, so that existing log formats for non-SSL traffic are not
affected at all, and SSL log formats have the frontend's name suffixed with
'~'.

The TCP, HTTP and CLF log format now use %ft instead of %f. This does not
affect existing log formats which still make use of %f however.
doc/configuration.txt
include/types/log.h
src/log.c