aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-02-15 22:56:36 +0000
committerMatthew Wild <mwild1@gmail.com>2010-02-15 22:56:36 +0000
commit8900765d21a9e722bf6546872c526c56a9aaaa48 (patch)
treee1cac6041996bd344606c8b62a3dc5a4fc1eb46e /plugins
parenta7e7b8488b605d4a4b1b59355a57408e1bacd017 (diff)
downloadprosody-8900765d21a9e722bf6546872c526c56a9aaaa48.tar.gz
prosody-8900765d21a9e722bf6546872c526c56a9aaaa48.zip
mod_saslauth: Log debug message with full error if cyrussasl couldn't be loaded
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_saslauth.lua1
1 files changed, 1 insertions, 0 deletions
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