title: Winston log to file not working
body: <p>I use Winston for logging:</p>
  
  <pre><code>var winston = require('winston');
  var logger = new(winston.Logger)({
      transports: [
          new(winston.transports.Console)(),
          new(winston.transports.File)({filename: '/var/log/logF.log'})
      ]
  });
  </code></pre>
  
  <p>and I write to this log:</p>
  
  <pre><code>logger.log("File: " + path + " was found");
  </code></pre>
  
  <p>For some reason, the file <code>/var/log/logF.log</code> isn't updated, and also the standard output isn't shown the log.</p>
  
  <p>How do I use it so the log will be written in '/var/log/logF.log'?</p>