aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-05-11 20:24:15 +0100
committerMatthew Wild <mwild1@gmail.com>2012-05-11 20:24:15 +0100
commitdac159e422701e710fb47af932e4a8390c3484d3 (patch)
tree5cd4fc2716bd3377d86b1283474bf69f5197c4e6
parent8284f0b8258501f51c0e23a8307a27d54dd5a886 (diff)
downloadprosody-dac159e422701e710fb47af932e4a8390c3484d3.tar.gz
prosody-dac159e422701e710fb47af932e4a8390c3484d3.zip
certmanager: Adjust error messages to be non-specific about 'host' (so we can specify a service name instead ffor SSL)
-rw-r--r--core/certmanager.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/certmanager.lua b/core/certmanager.lua
index cccf3098..84fdddf4 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 (host: %s)", file, reason, host);
+ log("error", "SSL/TLS: Failed to load %s: %s (for %s)", file, reason, host);
else
- log("error", "SSL/TLS: Error initialising for host %s: %s (host: %s)", host, err, host);
+ log("error", "SSL/TLS: Error initialising for %s: %s", host, err);
end
end
return ctx, err;