Skip to content

Commit bc4bf57

Browse files
committed
BUG/MINOR: fix missing "'option httpslog' overrides previous 'option tcplog clf'..." detection
Same as b85edd44db0 ("BUG/MINOR: fix missing "log-format overrides previous 'option tcplog clf'..." detection") but for "option httpslog" keyword. No backport needed unless fd48b28 ("MINOR: Implements new log format of option tcplog clf") is.
1 parent 607b9ad commit bc4bf57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cfgparse-listen.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,6 +2208,8 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
22082208
oldlogformat = "option httplog";
22092209
else if (curproxy->logformat.str == default_tcp_log_format)
22102210
oldlogformat = "option tcplog";
2211+
else if (curproxy->logformat.str == clf_tcp_log_format)
2212+
oldlogformat = "option tcplog clf";
22112213
else if (curproxy->logformat.str == clf_http_log_format)
22122214
oldlogformat = "option httplog clf";
22132215
else if (curproxy->logformat.str == default_https_log_format)

0 commit comments

Comments
 (0)