commit | 4b0b79dd564a18b4ea21c237991ffaf56c032eac | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Mar 26 15:54:32 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 05 15:13:54 2018 +0200 |
tree | 41bf7f59d06e54ec4f8604b94ef5dc3e8edf5eca | |
parent | 36bda1cd4ae49724d37cc6cf24729d4303fb10cc [diff] |
MINOR: log: move 'log' keyword parsing in dedicated function Now, the function parse_logsrv should be used to parse a "log" line. This function will update the list of loggers passed in argument. It can release all log servers when "no log" line was parsed (by the caller) or it can parse "log global" or "log <address> ... " lines. It takes care of checking the caller context (global or not) to prohibit "log global" usage in the global section.