Skip to content

Commit 17e52c9

Browse files
committed
BUG/MINOR: cfgparse-listen: fix option httpslog override warning message
"option httpslog" override warning messaged used to be reported as "option httplog", probably as a result of copy paste without adjusting the context. Let's fix that to prevent emitting confusing warning messages The issue exists since 98b930d ("MINOR: ssl: Define a default https log format"), thus it should be backported up to 2.6
1 parent bc4bf57 commit 17e52c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cfgparse-listen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
22142214
oldlogformat = "option httplog clf";
22152215
else if (curproxy->logformat.str == default_https_log_format)
22162216
oldlogformat = "option httpslog";
2217-
ha_warning("parsing [%s:%d]: 'option httplog' overrides previous '%s' in 'defaults' section.\n",
2217+
ha_warning("parsing [%s:%d]: 'option httpslog' overrides previous '%s' in 'defaults' section.\n",
22182218
file, linenum, oldlogformat);
22192219
}
22202220
lf_expr_deinit(&curproxy->logformat);

0 commit comments

Comments
 (0)