mod_auth_dovecot: Disable debug logging (sensitive data being sent)

Thu, 04 Jan 2018 05:03:00 +0100

author
Kim Alvefur <zash@zash.se>
date
Thu, 04 Jan 2018 05:03:00 +0100
changeset 2861
afeb06e4cdea
parent 2860
a7c2df6b2662
child 2862
933049a60ce6

mod_auth_dovecot: Disable debug logging (sensitive data being sent)

mod_auth_dovecot/auth_dovecot/sasl_dovecot.lib.lua file | annotate | diff | comparison | revisions
--- 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);

mercurial