commit | 1322d09a6f8fb2adb6309f9bcad6bd19e67f607d | [log] [tgz] |
---|---|---|
author | Dragan Dosen <ddosen@haproxy.com> | Tue Sep 22 16:05:32 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Sep 28 14:01:27 2015 +0200 |
tree | 8b3ea0ee065c5055525178b4881fa7cfe2205dab | |
parent | 68d2e3a74216bd137cbfce25611e935067ee839b [diff] |
MEDIUM: logs: add support for RFC5424 header format per logger The function __send_log() iterates over senders and passes the header as the first vector to sendmsg(), thus it can send a logger-specific header in each message. A new logger arguments "format rfc5424" should be used in order to enable RFC5424 header format. For example: log 10.2.3.4:1234 len 2048 format rfc5424 local2 info