mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
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
This commit is contained in:
parent
bc4bf5779f
commit
17e52c922b
@ -2214,7 +2214,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
|
||||
oldlogformat = "option httplog clf";
|
||||
else if (curproxy->logformat.str == default_https_log_format)
|
||||
oldlogformat = "option httpslog";
|
||||
ha_warning("parsing [%s:%d]: 'option httplog' overrides previous '%s' in 'defaults' section.\n",
|
||||
ha_warning("parsing [%s:%d]: 'option httpslog' overrides previous '%s' in 'defaults' section.\n",
|
||||
file, linenum, oldlogformat);
|
||||
}
|
||||
lf_expr_deinit(&curproxy->logformat);
|
||||
|
Loading…
Reference in New Issue
Block a user