title: How to disable crash dump for the gen_server
body: <ul>
  <li><p>There is a gen_server that keeps some sensible information in it's state (password and so on)</p>
  </li>
  <li><p>Lagger is enabled,</p>
  <p>So in case of crash gen_server's state is dump to the crash log like:</p>
  </li>
  </ul>
  <pre>
       yyyy-mm-dd hh:mm:ss =ERROR REPORT====
      ** Generic server XXX terminating 
      ** Last message in was ...
      ** When Server state == {state, ...}
      ** Reason for termination ==
  </pre>
  <p>As a result sensible information is written to the log file.</p>
  <p>Are there any way to prevent state of the gen_server to be written into the log files/crash dumps?</p>