mod_saslauth: Log debug message with full error if cyrussasl couldn't be loaded

This commit is contained in:
Matthew Wild 2010-02-15 22:56:36 +00:00
parent a7e7b8488b
commit 8900765d21

View file

@ -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