less verbose startup, better log messages at startup
parent
7f50e8f551
commit
8fefb551fc
|
@ -66,9 +66,9 @@ async.waterfall([
|
||||||
plugins.update,
|
plugins.update,
|
||||||
|
|
||||||
function (callback) {
|
function (callback) {
|
||||||
console.log("Installed plugins: " + plugins.formatPlugins());
|
console.info("Installed plugins: " + plugins.formatPlugins());
|
||||||
console.log("Installed parts:\n" + plugins.formatParts());
|
console.debug("Installed parts:\n" + plugins.formatParts());
|
||||||
console.log("Installed hooks:\n" + plugins.formatHooks());
|
console.debug("Installed hooks:\n" + plugins.formatHooks());
|
||||||
callback();
|
callback();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -89,12 +89,12 @@ async.waterfall([
|
||||||
|
|
||||||
//let the server listen
|
//let the server listen
|
||||||
app.listen(settings.port, settings.ip);
|
app.listen(settings.port, settings.ip);
|
||||||
console.log("Server is listening at " + settings.ip + ":" + settings.port);
|
console.log("You can access your Etherpad-Lite instance at http://" + settings.ip + ":" + settings.port + "/");
|
||||||
if(!_.isEmpty(settings.users)){
|
if(!_.isEmpty(settings.users)){
|
||||||
console.log("Plugin admin page listening at " + settings.ip + ":" + settings.port + "/admin/plugins");
|
console.log("The plugin admin page is at http://" + settings.ip + ":" + settings.port + "/admin/plugins");
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
console.log("Admin username and password not set in settings.json. To access admin please uncomment and edit 'users' in settings.json");
|
console.warn("Admin username and password not set in settings.json. To access admin please uncomment and edit 'users' in settings.json");
|
||||||
}
|
}
|
||||||
callback(null);
|
callback(null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue