From eb1390918db1f4618f364a39368092b3306dcec7 Mon Sep 17 00:00:00 2001 From: Phuc PNT Date: Mon, 12 Sep 2016 21:40:49 +0700 Subject: [PATCH] chore (amqplib): remove console.log --- lib/amqplib_ascoltatore.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/amqplib_ascoltatore.js b/lib/amqplib_ascoltatore.js index 436746d..664cc6b 100644 --- a/lib/amqplib_ascoltatore.js +++ b/lib/amqplib_ascoltatore.js @@ -129,8 +129,6 @@ AMQPLibAscoltatore.prototype.subscribe = function subscribe(topic, callback, don if (!this._subs_counter.include(topic)) { debug("binding queue to topic " + topic); - console.log('pattern', topic, this._subTopic(topic)); - this._channel.bindQueue(this._queue, this._opts.exchange, this._subTopic(topic), {}, function(err, ok){ debug("queue bound to topic " + topic); defer(done); @@ -148,7 +146,6 @@ AMQPLibAscoltatore.prototype.publish = function publish(topic, message, done) { this._raiseIfClosed(); debug("new message published to " + topic); - console.log('pattern', topic, this._pubTopic(topic)); this._channel.publish(this._opts.exchange, this._pubTopic(topic), new Buffer(String(message))); defer(done);