mod_auth_external/mod_auth_external.lua
changeset 1593 3e4d15ae2133
parent 1343 7dbde05b48a9
--- a/mod_auth_external/mod_auth_external.lua	Tue Jan 20 11:02:14 2015 +0000
+++ b/mod_auth_external/mod_auth_external.lua	Sun Jan 25 13:04:02 2015 +0100
@@ -99,6 +99,7 @@
 	end
 
 	local response, err = send_query(query);
+	module:log("debug", "input: %q, output %q", query, response);
 	if not response then
 		log("warn", "Error while waiting for result from auth process: %s", err or "unknown error");
 	elseif (script_type == "ejabberd" and response == "\0\2\0\0") or