From 8900765d21a9e722bf6546872c526c56a9aaaa48 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 15 Feb 2010 22:56:36 +0000 Subject: mod_saslauth: Log debug message with full error if cyrussasl couldn't be loaded --- plugins/mod_saslauth.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index eeb4f8d8..0f4c8b4b 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -45,6 +45,7 @@ if sasl_backend == "cyrus" then 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 -- cgit v1.2.3