diff --git a/packages/fxa-auth-server/bin/key_server.js b/packages/fxa-auth-server/bin/key_server.js index d61c9e3019b..6a412f33ed5 100755 --- a/packages/fxa-auth-server/bin/key_server.js +++ b/packages/fxa-auth-server/bin/key_server.js @@ -10,7 +10,7 @@ const config = require('../config'); const TracingProvider = require('fxa-shared/tracing/node-tracing'); TracingProvider.init( config.get('tracing'), - require('../lib/log')({ ...config.log }) + require('../lib/log')({ ...config.log, name: 'tracing' }) ); const error = require('../lib/error'); diff --git a/packages/fxa-auth-server/lib/log.js b/packages/fxa-auth-server/lib/log.js index abd99177110..9881aadc1d7 100644 --- a/packages/fxa-auth-server/lib/log.js +++ b/packages/fxa-auth-server/lib/log.js @@ -20,6 +20,7 @@ const CLIENT_ID_TO_SERVICE_NAMES = config.get('oauth.clientIds') || {}; function Lug(options) { EventEmitter.call(this); this.name = options.name || 'fxa-auth-server'; + this.logger = mozlog({ app: this.name, level: options.level,