From 8db90e886bc25f382145a3af543959021851e5cd Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 19 Jul 2010 16:52:19 +0200 Subject: Allow empty Xorg log analysis --- lib/logger.js | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/logger.js') 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 += "
\n" + comment; -- cgit