From 214322d987bf9fe5a2e7e03ad3755b40746b698c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Koci=C4=87?= Date: Thu, 26 Oct 2023 11:35:44 +0200 Subject: [PATCH] Add log message after apisix.yml config reload Fixes #10402 Please review. Not sure why is the log message printed multiple times and how to avoid it. --- apisix/core/config_yaml.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/apisix/core/config_yaml.lua b/apisix/core/config_yaml.lua index 0c6564caf6bb..8511eb583fa7 100644 --- a/apisix/core/config_yaml.lua +++ b/apisix/core/config_yaml.lua @@ -115,6 +115,7 @@ local function read_apisix_yaml(premature, pre_mtime) apisix_yaml = apisix_yaml_new apisix_yaml_ctime = last_change_time + log.warn("config file ", apisix_yaml_path, " reloaded.") end