title: mongoose debug log to separate file
body: <p>I set the mongoose debug to true.</p>
  
  <blockquote>
    <p>mongoose.set('debug', true)</p>
  </blockquote>
  
  <p>But now the debug log is printing in console.I need to specify a separate file for mongoose debug so that I can check the queries if needed.How can I do that? </p>