aboutsummaryrefslogtreecommitdiffstats
path: root/core/certmanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2011-11-01 23:57:42 +0500
committerWaqas Hussain <waqas20@gmail.com>2011-11-01 23:57:42 +0500
commit3071cfca0952cc4d310ef02058d07dd8b1210c56 (patch)
tree74e0d535c44e8a3eeca43fe131060f774f30eb36 /core/certmanager.lua
parent9141da8948020f2e3aecc479cb820c4741694e7b (diff)
downloadprosody-3071cfca0952cc4d310ef02058d07dd8b1210c56.tar.gz
prosody-3071cfca0952cc4d310ef02058d07dd8b1210c56.zip
certmanager: More informative logging.
Diffstat (limited to 'core/certmanager.lua')
-rw-r--r--core/certmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index 7b8ca9e1..8b82ac47 100644
--- a/core/certmanager.lua
+++ b/core/certmanager.lua
@@ -75,9 +75,9 @@ function create_context(host, mode, user_ssl_config)
else
reason = "Reason: "..tostring(reason):lower();
end
- log("error", "SSL/TLS: Failed to load %s: %s", file, reason);
+ log("error", "SSL/TLS: Failed to load %s: %s (host: %s)", file, reason, host);
else
- log("error", "SSL/TLS: Error initialising for host %s: %s", host, err );
+ log("error", "SSL/TLS: Error initialising for host %s: %s (host: %s)", host, err, host);
end
end
return ctx, err;