diff --git a/lib/logger.js b/lib/logger.js index 9c7fcec..8bd3387 100644 --- a/lib/logger.js +++ b/lib/logger.js @@ -16,6 +16,7 @@ if (config.get('bunyan') || config.get(env + ':use_bunyan')) { // Stream can be specified either in settings.streams[ix] or globally in settings.stream _([settings.streams, settings]) .flatten() + .compact() .forEach(function (settingObj) { if (settingObj.stream === 'process.stdout') { settingObj.stream = process.stdout; diff --git a/package.json b/package.json index c4c6d70..0e02a63 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "homepage": "https://github.com/TheThing/spserver", "dependencies": { "bunyan": "^1.3.3", - "lodash": "^3.0.1", + "lodash": "^4.17.2", "nconf": "^0.8.4", "node-static": "^0.7.6" },