var winston = require('winston'),
    path = require('path');

var DEFAULT_LOG = 'browsertime';

module.exports = {
  getLog: function(name) {
    name = name || DEFAULT_LOG;

    return winston.loggers.get(name);
  },

  addLog: function(name, options) {
    name = name || DEFAULT_LOG;
    options = options || {};

    if (winston.loggers.has(name)) {
      return winston.loggers.get(name);
    }

    var logPath = path.join(options.logDir || '', name + '.log');
    var logLevel = options.verbose ? 'verbose' : 'info';

    var winstonOpts = {
      file: {
        level: logLevel,
        json: false,
        label: name,
        filename: logPath
      },
      console: {
        level: logLevel,
        colorize: !options.noColor,
        silent: !!options.silent
      }
    };

    return winston.loggers.add(name, winstonOpts);
  }
};
@@ -607,29 +607,8 @@
 se,%0A
-        label: name,%0A
     

Remove redundant [browsertime] on each log line.