commit | 835b9212f698338d1556cb2d2557664ae16b66b8 | [log] [tgz] |
---|---|---|
author | Dragan Dosen <ddosen@haproxy.com> | Fri Feb 12 13:23:03 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 12 13:36:47 2016 +0100 |
tree | 61473cb735f04fa28d6c006c520ca8d0d7dee7b8 | |
parent | 0edd10925d6aeef2d283928f257df68c6f97b306 [diff] |
MEDIUM: log: add a new log format flag "E" The +E mode escapes characters '"', '\' and ']' with '\' as prefix. It mostly makes sense to use it in the RFC5424 structured-data log formats. Example: log-format-sd %{+Q,+E}o\ [exampleSDID@1234\ header=%[capture.req.hdr(0)]]