# HG changeset patch # User Waqas Hussain # Date 1320173862 -18000 # Node ID 21881619a39446070c40056fbae3b518aaaea925 # Parent f78c6f5fa0903192a8016848701748f2a4b9db25 certmanager: More informative logging. diff -r f78c6f5fa090 -r 21881619a394 core/certmanager.lua --- 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;