diff options
author | Matěj Cepl <mcepl@redhat.com> | 2010-07-19 16:52:19 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2010-07-19 17:46:20 +0200 |
commit | 8db90e886bc25f382145a3af543959021851e5cd (patch) | |
tree | 6b48b8350bb209e686e6ec2d2d076a40ab1bc42b /lib/logger.js | |
parent | fcfbd3f7f01df5c67182366dc25e41567addc3b8 (diff) | |
download | bugzilla-triage-8db90e886bc25f382145a3af543959021851e5cd.tar.gz |
Allow empty Xorg log analysis
Diffstat (limited to 'lib/logger.js')
-rw-r--r-- | lib/logger.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/logger.js b/lib/logger.js index 5926bea..2e8101f 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -19,28 +19,20 @@ function Logger(store, abbsMap) { exports.Logger = Logger; Logger.prototype.addLogRecord = function(that) { - console.log("Adding log record!"); var rec = {}; rec.date = new Date(); rec.url = that.doc.location.toString(); rec.title = that.title; var comment = prompts.prompt( "Enter comments for this comment"); - console.log("comment = " + comment); if (comment && comment.length > 0) { - console.log("I am in!"); comment = comment.trim(); rec.comment = comment; - console.log("rec.comment = " + rec.comment); var dateStr = utilMod.getISODate(rec.date); - console.log("rec.date = " + rec.date + ", dateStr = " + dateStr); var urlStr = urlMod.URL(rec.url).host; - console.log("rec.url = " + rec.url + ", urlStr = " + urlStr); var recKey = dateStr + "+" + urlStr + "+" + that.bugNo; - console.log("recKey = " + recKey); - console.log("rec = " + rec.toSource()); if (this.store[recKey]) { this.store[recKey].comment += "<br/>\n" + comment; |