Software /
code /
prosody
Diff
core/certmanager.lua @ 4408:21881619a394
certmanager: More informative logging.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 01 Nov 2011 23:57:42 +0500 |
parent | 4359:c69cbac4178f |
child | 4656:43469a2d124d |
line wrap: on
line diff
--- a/core/certmanager.lua Tue Nov 01 23:41:32 2011 +0500 +++ b/core/certmanager.lua Tue Nov 01 23:57:42 2011 +0500 @@ -75,9 +75,9 @@ 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;