Changeset

2902:c405486f289c

util.sasl_cyrus: Clarify some log messages and levels
author Matthew Wild <mwild1@gmail.com>
date Thu, 18 Mar 2010 10:05:35 +0000
parents 2901:5f3ccf7dd3f1
children 2903:d6da8f8e3502
files util/sasl_cyrus.lua
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/util/sasl_cyrus.lua	Wed Mar 17 18:57:19 2010 -0700
+++ b/util/sasl_cyrus.lua	Thu Mar 18 10:05:35 2010 +0000
@@ -39,7 +39,7 @@
 		if st then
 			initialized = true;
 		else
-			log("error", "Failed to initialize CyrusSASL: %s", errmsg);
+			log("error", "Failed to initialize Cyrus SASL: %s", errmsg);
 		end
 	end
 end
@@ -57,7 +57,7 @@
 	if st then
 		sasl_i.cyrus = ret;
 	else
-		log("error", "server_new failed: %s", ret);
+		log("error", "Creating SASL server connection failed: %s", ret);
 		return nil;
 	end
 
@@ -82,7 +82,7 @@
 
 -- set the forbidden mechanisms
 function method:forbidden( restrict )
-	log("debug", "Called method:forbidden. NOT IMPLEMENTED.")
+	log("warn", "Called method:forbidden. NOT IMPLEMENTED.")
 	return {}
 end