From eaaeb953845706b0ebfeda6f3086038279ee8df9 Mon Sep 17 00:00:00 2001 From: Randall Meyer Date: Thu, 24 Jun 2021 15:21:55 -0700 Subject: [PATCH] conf_remap: demote 'Invalid configuration' to warning When I added this in b4241b99d0d6017397acf92a2562898b7b5e57b4, I miscategorized the log message. Since the plugin continues the loading, this should only be a warning. --- plugins/conf_remap/conf_remap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/conf_remap/conf_remap.cc b/plugins/conf_remap/conf_remap.cc index 4a3d1606f57..8cb98765a0a 100644 --- a/plugins/conf_remap/conf_remap.cc +++ b/plugins/conf_remap/conf_remap.cc @@ -91,7 +91,7 @@ RemapConfigs::parse_inline(const char *arg) value = std::string(sep + 1, std::distance(sep + 1, arg + strlen(arg))); if (TSHttpTxnConfigFind(key.c_str(), -1 /* len */, &name, &type) != TS_SUCCESS) { - TSError("[%s] Invalid configuration variable '%s'", PLUGIN_NAME, key.c_str()); + TSWarning("[%s] Invalid configuration variable '%s'", PLUGIN_NAME, key.c_str()); return true; }