fix: modify log level WARN -> DEBUG in key-auth plugin (#2275)

This commit is contained in:
xujingfeng
2025-05-20 13:52:17 +08:00
committed by GitHub
parent c768973e47
commit be2c6f8a4a

View File

@@ -202,7 +202,7 @@ bool PluginRootContext::parsePluginConfig(const json& configuration,
}
item = consumer.find("keys");
if (item == consumer.end()) {
LOG_WARN("not found keys configuration for consumer " + c.name + ", will use global configuration to extract keys");
LOG_DEBUG("not found keys configuration for consumer " + c.name + ", will use global configuration to extract keys");
need_global_keys = true;
} else {
c.keys = std::vector<std::string>{OriginalAuthKey};