mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-27 03:40:39 -05:00
BUG/MINOR: to_log erased with unique-id-format
curproxy->to_log was reset to LW_INIT when using unique-id-format, so logs looked like option logasap
This commit is contained in:
parent
a9fddca778
commit
1dc00efedc
1 changed files with 1 additions and 1 deletions
|
|
@ -309,7 +309,7 @@ void parse_logformat_string(char *str, struct proxy *curproxy, struct list *list
|
|||
struct logformat_node *tmplf, *back;
|
||||
int options = 0;
|
||||
|
||||
curproxy->to_log = LW_INIT;
|
||||
curproxy->to_log |= LW_INIT;
|
||||
|
||||
/* flush the list first. */
|
||||
list_for_each_entry_safe(tmplf, back, list_format, list) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue