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 + ')'); } }