From 88cb04ff3c74c3a6919ae07b1e0d2778d50b22de Mon Sep 17 00:00:00 2001 From: Aiko Mastboom Date: Thu, 18 Apr 2013 23:50:35 +0200 Subject: [PATCH] be more silent --- routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes.js b/routes.js index cc8058a..2a7f4d8 100644 --- a/routes.js +++ b/routes.js @@ -115,7 +115,7 @@ module.exports = function (server, config) { } model.on('create', function populateDocument(documentId, data) { - console.log('Populating a doc in channel', documentId, data); + config.debug && console.log('Populating a doc in channel', documentId, data); var splitId = documentId.split(':'); var options = { documentId: documentId,