diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-02-01 17:16:43 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-02-01 17:16:43 +0100 |
commit | cc50408c9661d35a81f921ff6347eee3c1781d0f (patch) | |
tree | 6219eeb70d7ce908b4786822d3f3abd2469b6391 /lib/libbugzilla.js | |
parent | c1ec772b104316530f6737340355205398df33af (diff) | |
download | bugzilla-triage-cc50408c9661d35a81f921ff6347eee3c1781d0f.tar.gz |
Bit of cleaning of logger
Diffstat (limited to 'lib/libbugzilla.js')
-rw-r--r-- | lib/libbugzilla.js | 6 |
1 files changed, 3 insertions, 3 deletions
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(); |