mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 16:47:18 +02: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
@ -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 New Issue
Block a user