Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Logging broadcast at debug level.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Beddows committed Oct 10, 2016
1 parent 23624cd commit 6009f9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/transport.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ __private.removePeer = function (options) {

// Public methods
Transport.prototype.broadcast = function (config, options, cb) {
library.logger.debug('Broadcast', options);

config.limit = config.limit || 1;
modules.peers.list(config, function (err, peers) {
if (!err) {
Expand Down

0 comments on commit 6009f9b

Please sign in to comment.