diff --git a/src/log.c b/src/log.c index 2a3cd168f..b1f532a67 100644 --- a/src/log.c +++ b/src/log.c @@ -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) {