MINOR: cfgparse/log: remove leftover dead code

Remove development leftover introduced by commit 15e9c7da6 ("MINOR: log:
add log-profile parsing logic").

Indeed, since "log-profile" section keyword is registered via
REGISTER_CONFIG_SECTION() macro, it is not relevant to declare it in
common_kw_list[] from cfgparse-global.c. All it does is that it could
confuse the user by suggesting him to use "log-profile" inside a global
section when trying to find a best match in cfg_parse_global().
This commit is contained in:
Aurelien DARRAGON 2024-06-25 18:31:29 +02:00
parent 185d230e2c
commit bcf98c9b5f

View File

@ -46,12 +46,12 @@ static const char *common_kw_list[] = {
"ssl-server-verify", "maxconnrate", "maxsessrate", "maxsslrate",
"maxcomprate", "maxpipes", "maxzlibmem", "maxcompcpuusage", "ulimit-n",
"chroot", "description", "node", "pidfile", "unix-bind", "log",
"log-profile", "log-send-hostname", "log-tag", "server-state-base",
"server-state-file", "spread-checks", "max-spread-checks", "cpu-map",
"setenv", "presetenv", "unsetenv", "resetenv", "strict-limits",
"localpeer", "numa-cpu-mapping", "defaults", "listen", "frontend",
"backend", "peers", "resolvers", "cluster-secret", "no-quic",
"limited-quic", "stats-file",
"log-send-hostname", "server-state-base", "server-state-file",
"log-tag", "spread-checks", "max-spread-checks", "cpu-map", "setenv",
"presetenv", "unsetenv", "resetenv", "strict-limits", "localpeer",
"numa-cpu-mapping", "defaults", "listen", "frontend", "backend",
"peers", "resolvers", "cluster-secret", "no-quic", "limited-quic",
"stats-file",
NULL /* must be last */
};