]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: logs: remove the hostname, tag and pid part from the logheader
authorDragan Dosen <ddosen@haproxy.com>
Sat, 19 Sep 2015 20:35:44 +0000 (22:35 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Sep 2015 12:01:27 +0000 (14:01 +0200)
commit68d2e3a74216bd137cbfce25611e935067ee839b
treec386b3174c6faf15341aed6f581ad3a401c4a7b1
parent59cee973cdaedfb1e83f2d52db0a55723c76199c
MEDIUM: logs: remove the hostname, tag and pid part from the logheader

At the moment we have to call snprintf() for every log line just to
rebuild a constant. Thanks to sendmsg(), we send the message in 3 parts:
time-based header, proxy-specific hostname+log-tag+pid, session-specific
message.
include/proto/log.h
include/types/log.h
include/types/proxy.h
src/cfgparse.c
src/haproxy.c
src/log.c