X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=src%2Fmanager.js;fp=src%2Fmanager.js;h=01a941643e093ba10a17dd86b5cd39c700214b3b;hp=0d4302772b7405ce4539cb55640d5a3b9da011a1;hb=07bf59d8ac7f5fc6d5ac5e6b92a37afdbb896790;hpb=7d0017cc3700b2c2b1b89944ab9eb305de362dd1 diff --git a/src/manager.js b/src/manager.js index 0d43027..01a9416 100644 --- a/src/manager.js +++ b/src/manager.js @@ -28,7 +28,8 @@ class Manager { if (options.queues.amqp.url) { this.queuePublisher = new QueuePublisher(logger, options.queues.amqp); } - this.mysteryBox = new MysteryBox(logger, options); + this.mysteryBox = new MysteryBox(options); + this.mysteryBox.on('statistics', common.mysteryBoxLogger(logger, _fileScope(this.constructor.name))); // We need to know how the outside world sees us, to verify if a // profile indicates us as the auth server.