Changeset

2647:0ddb3c4dc9d1

mod_saslauth: Log debug message with full error if cyrussasl couldn't be loaded
author Matthew Wild <mwild1@gmail.com>
date Mon, 15 Feb 2010 22:56:36 +0000
parents 2646:064efb684aff
children 2648:538dd5f1810a
files plugins/mod_saslauth.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Mon Feb 15 22:56:15 2010 +0000
+++ b/plugins/mod_saslauth.lua	Mon Feb 15 22:56:36 2010 +0000
@@ -45,6 +45,7 @@
 	else
 		sasl_backend = "builtin";
 		module:log("warn", "Failed to load Cyrus SASL, falling back to builtin auth mechanisms");
+		module:log("debug", "Failed to load Cyrus because: %s", cyrus);
 	end
 end
 if not new_sasl then