From e3d6da06a71aa97fa371f4a8a9ed48e8b7b2ec16 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Thu, 5 May 2016 12:17:51 +0200 Subject: [PATCH] Remove console usage --- lib/cartodb/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cartodb/server.js b/lib/cartodb/server.js index 7df6a69f..ed24f651 100644 --- a/lib/cartodb/server.js +++ b/lib/cartodb/server.js @@ -3,6 +3,7 @@ var bodyParser = require('body-parser'); var RedisPool = require('redis-mpool'); var cartodbRedis = require('cartodb-redis'); var _ = require('underscore'); +var debug = require('debug')('windshaft:cartodb'); var controller = require('./controllers'); @@ -231,7 +232,7 @@ function validateOptions(opts) { // Be nice and warn if configured mapnik version is != instaled mapnik version if (mapnik.versions.mapnik !== opts.grainstore.mapnik_version) { - console.warn('WARNING: detected mapnik version (' + mapnik.versions.mapnik + ')' + + debug('WARNING: detected mapnik version (' + mapnik.versions.mapnik + ')' + ' != configured mapnik version (' + opts.grainstore.mapnik_version + ')'); } }