aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-04-23 19:21:06 +0200
committerKim Alvefur <zash@zash.se>2019-04-23 19:21:06 +0200
commitb623c6cb41f91964faf97e2b9bb6fab9993ab658 (patch)
tree1ef16ccc4b3f03be34e05760ac6ee982d36f2799
parenteca1ddea1e620a6200c4999b82d1c793b354c481 (diff)
downloadprosody-b623c6cb41f91964faf97e2b9bb6fab9993ab658.tar.gz
prosody-b623c6cb41f91964faf97e2b9bb6fab9993ab658.zip
core.portmanager: Log debug message for each kind of TLS context created
-rw-r--r--core/portmanager.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/portmanager.lua b/core/portmanager.lua
index 1ed37da0..bed5eca5 100644
--- a/core/portmanager.lua
+++ b/core/portmanager.lua
@@ -112,6 +112,7 @@ local function activate(service_name)
if service_info.encryption == "ssl" then
local global_ssl_config = config.get("*", "ssl") or {};
local prefix_ssl_config = config.get("*", config_prefix.."ssl") or global_ssl_config;
+ log("debug", "Creating context for direct TLS service %s on port %d", service_info.name, port);
ssl, err = certmanager.create_context(service_info.name.." port "..port, "server",
prefix_ssl_config[interface],
prefix_ssl_config[port],