mirror of
https://github.com/alibaba/higress.git
synced 2026-06-09 20:57:32 +08:00
fix: modify log level WARN -> DEBUG in key-auth plugin (#2275)
This commit is contained in:
@@ -202,7 +202,7 @@ bool PluginRootContext::parsePluginConfig(const json& configuration,
|
|||||||
}
|
}
|
||||||
item = consumer.find("keys");
|
item = consumer.find("keys");
|
||||||
if (item == consumer.end()) {
|
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;
|
need_global_keys = true;
|
||||||
} else {
|
} else {
|
||||||
c.keys = std::vector<std::string>{OriginalAuthKey};
|
c.keys = std::vector<std::string>{OriginalAuthKey};
|
||||||
|
|||||||
Reference in New Issue
Block a user