title: Node winston cannot support multiple file transport?
body: <p>I want to show error logs in one file and all logs in another file. To do that, I wrote two file transports which give the following error on compilation:</p>
  
  <pre><code> 'use strict';
  
  var winston = require('winston'),   
    config = require('./config');
  
  var logger = new (winston.Logger)({
  transports: [
    new (winston.transports.Console)({level:'debug',handleExceptions: true,prettyPrint: true,silent:false,timestamp: true,colorize: true,json: false}),
    new (winston.transports.File)({ filename: './server/logs/bv_common.log',level:'debug',maxsize: 1024000,maxFiles: 10, handleExceptions: true,json: false}),
    new (winston.transports.File)({ filename: './server/logs/bv_error.log',level:'debug',maxsize: 1024000,maxFiles: 10, handleExceptions: true,json: false,level:'error'})
  
  ]
    });
  
  
  module.exports = logger;
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>   [ 'Error: Transport already attached: file',
  </code></pre>