some more logging

v1.18.x
barisusakli 10 years ago
parent 9cf71d460a
commit 54f9a09e6a

@ -78,6 +78,8 @@ function install(req, res) {
}
}
winston.info('running nodebb setup with env ', process.env);
var child = require('child_process').fork('app', ['--setup'], {
env: process.env
});

@ -488,6 +488,8 @@ function enableDefaultPlugins(next) {
],
customDefaults = nconf.get('defaultPlugins');
winston.info('[install/defaultPlugins] customDefaults', customDefaults);
if (customDefaults && customDefaults.length) {
try {
customDefaults = JSON.parse(customDefaults);
@ -502,6 +504,8 @@ function enableDefaultPlugins(next) {
return array.indexOf(plugin) === index;
});
winston.info('[install/enableDefaultPlugins] activating default plugins', defaultEnabled);
var db = require('./database');
var order = defaultEnabled.map(function(plugin, index) {
return index;

Loading…
Cancel
Save