ejabberd - Comments for "Clear text passwords in ejabberd.log on LDAP bind" https://www.ejabberd.im/node/17261 en It is a log mesage of level https://www.ejabberd.im/node/17261#comment-63465 <p>It is a log mesage of level "error". If you set in your ejabberd config file the option loglevel to 1, then log messages of that category are not printed.</p> <p>A more fine-grained solution:<br /> 1. Download ejabberd source code of your version<br /> 2. Apply this patch, so the error message doesn't display the call arguments:</p> <pre> --- a/src/eldap/eldap_pool.erl +++ b/src/eldap/eldap_pool.erl @@ -80,8 +80,8 @@ do_request(Name, {F, Args}) -&gt; {'EXIT', {timeout, _}} -&gt; ?ERROR_MSG("LDAP request failed: timed out", []); {'EXIT', Reason} -&gt; - ?ERROR_MSG("LDAP request failed: eldap:~p(~p)~nReason: ~p", - [F, Args, Reason]), + ?ERROR_MSG("LDAP request failed: eldap:~p(...)~nReason: ~p", + [F, Reason]), {error, Reason}; Reply -&gt; Reply </pre><p>3. Compile ejabberd. Well, in fact you only care about compiling eldap_pool.erl<br /> 4. When you get the binary file eldap_pool.beam, copy it to replace the old one<br /> 5. Restart ejabberd, or reload that file at runtime using WebAdmin.</p> Mon, 17 Feb 2014 16:40:16 +0000 mfoss comment 63465 at https://www.ejabberd.im