From 163e9d4bef7a7affe4de50816b61fa729c1802b3 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 1 Nov 2011 23:57:42 +0500 Subject: certmanager: More informative logging. --- core/certmanager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/certmanager.lua') 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; -- cgit v1.2.3