mod_auth_dovecot: Disable debug logging (sensitive data being sent)
authorKim Alvefur <zash@zash.se>
Thu, 04 Jan 2018 05:03:00 +0100
changeset 2865 afeb06e4cdea
parent 2864 a7c2df6b2662
child 2866 933049a60ce6
mod_auth_dovecot: Disable debug logging (sensitive data being sent)
mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua
--- a/mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua	Wed Jan 03 15:19:55 2018 +0100
+++ b/mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua	Thu Jan 04 05:03:00 2018 +0100
@@ -139,7 +139,7 @@
 	if msg:sub(-1) ~= "\n" then
 		msg = msg .. "\n"
 	end
-	module:log("debug", "sending %q", msg:sub(1,-2));
+	-- module:log("debug", "sending %q", msg:sub(1,-2));
 	local ok, err = self.conn:send(msg);
 	if not ok then
 		log("error", "Could not write to socket: %s", err);