Skip to content

Commit

Permalink
remove duplicate logstash option
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed Dec 9, 2014
1 parent 6c7954c commit bdecce7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/winston/transports/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ var File = exports.File = function (options) {
this.prettyPrint = options.prettyPrint || false;
this.label = options.label || null;
this.timestamp = options.timestamp != null ? options.timestamp : true;
this.logstash = options.logstash || false;

if (this.json) {
this.stringify = options.stringify;
Expand Down Expand Up @@ -130,8 +129,7 @@ File.prototype.log = function (level, msg, meta, callback) {
prettyPrint: this.prettyPrint,
timestamp: this.timestamp,
stringify: this.stringify,
label: this.label,
logstash: this.logstash
label: this.label
}) + '\n';

this._size += output.length;
Expand Down

0 comments on commit bdecce7

Please sign in to comment.