aboutsummaryrefslogtreecommitdiffstats
path: root/core/portmanager.lua
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
commit06cf2e641afcf6c55b3ed8788c1ee56dc7ced9cf (patch)
tree1ef16ccc4b3f03be34e05760ac6ee982d36f2799 /core/portmanager.lua
parent86ed7cd44e4415a2b729c7d251184d14d5ced809 (diff)
downloadprosody-06cf2e641afcf6c55b3ed8788c1ee56dc7ced9cf.tar.gz
prosody-06cf2e641afcf6c55b3ed8788c1ee56dc7ced9cf.zip
core.portmanager: Log debug message for each kind of TLS context created
Diffstat (limited to 'core/portmanager.lua')
-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],