Diff

core/certmanager.lua @ 4855:a31ea431d906

certmanager: Adjust error messages to be non-specific about 'host' (so we can specify a service name instead ffor SSL)
author Matthew Wild <mwild1@gmail.com>
date Fri, 11 May 2012 20:24:15 +0100
parent 4656:43469a2d124d
child 4889:0c5091b8b833
line wrap: on
line diff
--- a/core/certmanager.lua	Fri May 11 18:55:23 2012 +0100
+++ b/core/certmanager.lua	Fri May 11 20:24:15 2012 +0100
@@ -75,9 +75,9 @@
 			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;