diff --git a/src/meta/css.js b/src/meta/css.js index 8ce1ced611..224ba596cf 100644 --- a/src/meta/css.js +++ b/src/meta/css.js @@ -74,7 +74,6 @@ module.exports = function(Meta) { }); } - winston.info('[meta/css] Done.'); emitter.emit('meta:css.compiled'); if (typeof callback === 'function') { @@ -90,10 +89,11 @@ module.exports = function(Meta) { }; Meta.css.commitToFile = function(filename) { - winston.info('[meta/css] Committing stylesheet (' + filename + ') to disk'); - fs.writeFile(path.join(__dirname, '../../public/' + (filename === 'acpCache' ? 'admin' : 'stylesheet') + '.css'), Meta.css[filename], function(err) { + var file = (filename === 'acpCache' ? 'admin' : 'stylesheet') + '.css'; + + fs.writeFile(path.join(__dirname, '../../public/' + file), Meta.css[filename], function(err) { if (!err) { - winston.info('[meta/css] Stylesheet (' + filename + ') committed to disk.'); + winston.info('[meta/css] ' + file + ' committed to disk.'); } else { winston.error('[meta/css] ' + err.message); process.exit(0); diff --git a/src/meta/js.js b/src/meta/js.js index 60560a6cbd..9e25a5a8e1 100644 --- a/src/meta/js.js +++ b/src/meta/js.js @@ -135,7 +135,7 @@ module.exports = function(Meta) { process.exit(0); } - winston.info('[meta/js] Compilation complete'); + winston.info('[meta/js] Minification complete'); minifier.kill(); if (cluster.isWorker) { @@ -156,9 +156,6 @@ module.exports = function(Meta) { minifier.on('message', function(message) { switch(message.type) { case 'end': - winston.info('[meta/js] Successfully minified.'); - winston.info('[meta/js] Retrieved Mapping.'); - Meta.js.cache = message.data.js; Meta.js.map = message.data.map; @@ -202,7 +199,6 @@ module.exports = function(Meta) { }; Meta.js.commitToFile = function() { - winston.info('[meta/js] Committing minfile to disk'); async.parallel([ async.apply(fs.writeFile, path.join(__dirname, '../../public/nodebb.min.js'), Meta.js.cache), async.apply(fs.writeFile, path.join(__dirname, '../../public/nodebb.min.js.map'), Meta.js.map) diff --git a/src/plugins.js b/src/plugins.js index 7310e0682d..35381a3fa0 100644 --- a/src/plugins.js +++ b/src/plugins.js @@ -108,9 +108,6 @@ var fs = require('fs'), }); }, function(next) { - if (global.env === 'development') { - winston.info('[plugins] Sorting hooks to fire in priority sequence'); - } Object.keys(Plugins.loadedHooks).forEach(function(hook) { var hooks = Plugins.loadedHooks[hook]; hooks = hooks.sort(function(a, b) {