Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
fix(logging): configuration changes per @whd
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgm committed May 12, 2015
1 parent 5ca8d57 commit f65106d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/basket.js
Expand Up @@ -11,7 +11,7 @@ to the [basket API](https://github.com/mozilla/basket) for user engagement.

var request = require('request')
var config = require('../config').root()
var log = require('../lib/log')(config.log.level, 'basket')
var log = require('../lib/log')(config.log.level, 'fxa-basket-sender')
var SQSReceiver = require('../lib/sqs')(log)


Expand Down
2 changes: 1 addition & 1 deletion bin/email_bouncer.js
Expand Up @@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

var config = require('../config').root()
var log = require('../lib/log')(config.log.level, 'email-bouncer')
var log = require('../lib/log')(config.log.level, 'fxa-email-bouncer')
var error = require('../lib/error')
var Token = require('../lib/tokens')(log, config.tokenLifetimes)
var bounces = require('../lib/bounces')(log)
Expand Down
2 changes: 1 addition & 1 deletion lib/log.js
Expand Up @@ -25,7 +25,7 @@ function Lug(options) {
level: options.level,
stream: process.stderr
})
this.logger = mozlog('auth')
this.logger = mozlog()
}
util.inherits(Lug, EventEmitter)

Expand Down

0 comments on commit f65106d

Please sign in to comment.