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