title: What is this error in winston?
body: <pre><code>events.js:183
    throw er; // Unhandled 'error' event
    ^
  
  Error: write after end
  at writeAfterEnd (_stream_writable.js:236:12)
  at WriteStream.Writable.write (_stream_writable.js:287:5)
  at exports.File.File._write (/home/baopham/Documents/Projects/temp/api/node_modules/winston/lib/winston/transports/file.js:202:18)
  at /home/baopham/Documents/Projects/temp/api/node_modules/winston/lib/winston/transports/file.js:438:12
  at _combinedTickCallback (internal/process/next_tick.js:131:7)
  at process._tickDomainCallback (internal/process/next_tick.js:218:9)
  </code></pre>
  
  <p>I log by winston.</p>
  
  <pre><code>winston.loggers.add('logger',{});
      winston.loggers.get('query').configure({
          transports: [
              new winston.transports.File({ dirname: 
              path.join(__dirname, '/../../../logs'), filename: 'query.log', timestamp: false })
          ]
      });
  winston.loggers.get('query').info('CREATE ITEM');
  </code></pre>
  
  <p>node v8.11.3</p>
  
  <p>npm v5.6.0</p>
  
  <p>What is this error ?
  I do not know if it is related to the npm</p>