From 9626ab5513ba16b3ba4961eb6ff82bb1f09012a8 Mon Sep 17 00:00:00 2001 From: Zhefeng C <38037704+catbro666@users.noreply.github.com> Date: Tue, 21 Feb 2023 16:01:35 +0800 Subject: [PATCH] fix(cmd): fix incorrect logging format FTI-4801 Co-authored-by: Datong Sun --- kong/cmd/utils/prefix_handler.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kong/cmd/utils/prefix_handler.lua b/kong/cmd/utils/prefix_handler.lua index bf1c2ac82bcb..02bbbd2882d3 100644 --- a/kong/cmd/utils/prefix_handler.lua +++ b/kong/cmd/utils/prefix_handler.lua @@ -113,7 +113,8 @@ local function gen_default_ssl_cert(kong_config, target) end if not exists(ssl_cert) and not exists(ssl_cert_key) then - log.verbose("generating %s SSL certificate (", ssl_cert, ") and key (", ssl_cert_key, ") for ", target or "proxy", " listener") + log.verbose("generating %s SSL certificate (%s) and key (%s) for listener", + target or "proxy", ssl_cert, ssl_cert_key) local key if suffix == "_ecdsa" then