title: Where can I find the logs for my Electron app in production?
body: <p>I've built an app with <a href="http://electron.atom.io" rel="noreferrer">Electron</a> and used <a href="https://github.com/electron-userland/electron-builder" rel="noreferrer">Electron-Builder</a> to create a <a href="https://github.com/Squirrel/Squirrel.Windows" rel="noreferrer">Squirrel</a> windows installer and updater. It all works great but I'm having trouble debugging the production version of my app. </p>
  
  <p>Are the logs created by a <code>console.log</code> written somewhere on disk when using the production version? If so, where can I find them? Or are those all removed when compiling the executable? There must be some kind of log file for my app right?</p>
  
  <p>I've found the SquirrelSetupLog in <code>C:\Users\Tieme\AppData\Local\MyApp\SquirrelSetupLog</code> but that's not enough for debugging my production-only problem. </p>
  
  <hr>
  
  <p>Just came across <a href="https://www.npmjs.com/package/electron-log" rel="noreferrer">electron-log</a>. That could work if regular console logs are indeed not written to disk somewhere.. </p>