Software /
code /
prosody
Changeset
4408:21881619a394
certmanager: More informative logging.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Tue, 01 Nov 2011 23:57:42 +0500 |
parents | 4407:f78c6f5fa090 |
children | 4409:c8f7ae9381cd |
files | core/certmanager.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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;