commit | 8a4e4420fb15b72ca80fd0524d01d691179dd2df | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER / OZON.IO <thierry.fournier@ozon.io> | Wed Nov 23 00:41:28 2016 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Nov 25 07:32:58 2016 +0100 |
tree | b6ca31fa39f853b14127eaef992332bc7af7f1cf | |
parent | 4ed1c9585d854e0deb8a234e8103d81e1f47228c [diff] |
MEDIUM: log-format: Use standard HAProxy log system to report errors The function log format emit its own error message using Alert(). This patch replaces this behavior and uses the standard HAProxy error system (with memprintf). The benefits are: - cleaning the log system - the logformat can ignore the caller (actually the caller must set a flag designing the caller function). - Make the usage of the logformat function easy for future components.