]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: logs: add a new RFC5424 log-format for the structured-data
authorDragan Dosen <ddosen@haproxy.com>
Fri, 25 Sep 2015 17:17:44 +0000 (19:17 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 28 Sep 2015 12:01:27 +0000 (14:01 +0200)
commit0b85ecee53b517fbc16c505c7e1ab4b802f9054a
tree0167bbcc16b7ddec64a1e768d3e062ce85012bff
parent1322d09a6f8fb2adb6309f9bcad6bd19e67f607d
MEDIUM: logs: add a new RFC5424 log-format for the structured-data

This patch adds a new RFC5424-specific log-format for the structured-data
that is automatically send by __send_log() when the sender is in RFC5424
mode.

A new statement "log-format-sd" should be used in order to set log-format
for the structured-data part in RFC5424 formatted syslog messages.
Example:

    log-format-sd [exampleSDID@1234\ bytes=\"%B\"\ status=\"%ST\"]
include/proto/log.h
include/types/arg.h
include/types/log.h
include/types/proxy.h
src/cfgparse.c
src/haproxy.c
src/log.c
src/proxy.c
src/sample.c