title: Winston-logger not working in modules
body: <p>I have made a winston-module that I import into all modules that need logging. However it will only log entries in my application entry point(the one I start with).</p>
  
  <p>What have I done wrong with my implementation?</p>
  
  <p>logger.js (winston module)</p>
  
  <pre><code>var winston = require('winston');
  
  var logger = new (winston.Logger)({
    transports: [
      new winston.transports.File({ 
        filename: __dirname + '/logger.log', 
        json: false,
        timestamp: function () {
          return new Date()
        } 
      })
    ],
    exceptionHandlers: [
      new winston.transports.File({ filename: __dirname + '/exceptions.log', json: false })
    ],
    exitOnError: false
  });
  
  module.exports = logger;
  </code></pre>
  
  <p>Main Node-file(logging works OK here):</p>
  
  <pre><code>var logger = require('./utils/logger');
  </code></pre>
  
  <p>Other module needing logging(Logging not working, no error messages)</p>
  
  <pre><code>var logger = require('../utils/logger');
  
  logger.error('Error to log')
  </code></pre>
  
  <p>Any ideas what Im doing wrong?</p>