Skip to content

Commit

Permalink
Removed unused options
Browse files Browse the repository at this point in the history
  • Loading branch information
debarghyab committed Apr 10, 2020
1 parent 987ed8b commit 2afa865
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/RabbitmqTransport.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class RabbitmqTransport extends TransportStream {
initialize() {
this.name = this.config.name;
this.level = this.config.level;
this.bufferMax = this.config.bufferMax;

this.debug = this.level === 'debug' && this.config.debug && typeof this.config.debug === 'function' ? this.config.debug : console.debug;

Expand Down
4 changes: 0 additions & 4 deletions src/config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
name: 'rabbitmq-logger',
bufferMax: 1000,
level: 'debug',
logToConsole: false,
url: process.env.WINSTON_RABBITMQ_URL || 'amqp://localhost:5672',
Expand All @@ -10,9 +9,6 @@ module.exports = {
durable: true,
autoDelete: false
},
publishOptions: {
contentType: 'application/json'
},
timestamp: function () {
return new Date().toISOString();
}
Expand Down

0 comments on commit 2afa865

Please sign in to comment.