From cc50408c9661d35a81f921ff6347eee3c1781d0f Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Tue, 1 Feb 2011 17:16:43 +0100 Subject: Bit of cleaning of logger --- lib/libbugzilla.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libbugzilla.js') diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index 1c5f7a2..0477c70 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -7,7 +7,7 @@ var preferences = require("preferences-service"); var prompts = require("prompts"); var clipboard = require("clipboard"); var tabs = require("tabs"); -//var logger = require("logger"); +var logger = require("logger"); var passUtils = require("passwords"); var Request = require("request").Request; var selfMod = require("self"); @@ -278,8 +278,8 @@ exports.initialize = function initialize(config, callback) { if ("submitsLogging" in config.gJSONData.configData && config.gJSONData.configData.submitsLogging) { - // config.log = config.logger; - // FIXME this.setUpLogging(); + logger.initialize(JSON.parse(selfMod.data.load( + "bugzillalabelAbbreviations.json"))); } } callback(); -- cgit