commit | 1dc00efedc667e9aa0e10bc4b4aea36b14b73b73 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@exceliance.fr> | Thu Aug 09 16:41:35 2012 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Aug 09 19:18:22 2012 +0200 |
tree | b372e76d83f1371652378a472759949434e639b6 | |
parent | a9fddca778f8aea16687699094fa486ec713ba81 [diff] |
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
diff --git a/src/log.c b/src/log.c index 2a3cd16..b1f532a 100644 --- a/src/log.c +++ b/src/log.c
@@ -309,7 +309,7 @@ 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) {