commit | 53e1a6d31743b1bef6063ff30b812521391ae3c3 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jul 09 11:20:00 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 09 11:20:00 2015 +0200 |
tree | 8e709bcf1307547c6ce0565beed7a803e85510ab | |
parent | 5fc7d7e8ce3f10fe29253b298507bbce8e3953d2 [diff] |
BUG/MINOR: log: missing some ARGC_* entries in fmt_directives() ARGC_CAP was not added to fmt_directives() which is used to format error messages when failing to parse log format expressions. The whole switch/case has been reorganized to match the declaration order making it easier to spot missing values. The default is not the "log" directive anymore but "undefined" asking to report the bug. Backport to 1.5 is not strictly needed but is desirable at least for code sanity.