Software /
code /
prosody
Diff
plugins/mod_saslauth.lua @ 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 |
parent | 2646:064efb684aff |
child | 2721:cf97b85c27b5 |
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