1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

update welcome message to use logger so it can be turned off/on if required (#1083)

This commit is contained in:
Josh 2016-12-24 00:31:23 +13:00 committed by Nick O'Leary
parent 28a65923b6
commit f143a6ba08

View File

@ -92,7 +92,7 @@ function start() {
reportMetrics(); reportMetrics();
}, settings.runtimeMetricInterval||15000); }, settings.runtimeMetricInterval||15000);
} }
console.log("\n\n"+log._("runtime.welcome")+"\n===================\n"); log.info("\n\n"+log._("runtime.welcome")+"\n===================\n");
if (settings.version) { if (settings.version) {
log.info(log._("runtime.version",{component:"Node-RED",version:"v"+settings.version})); log.info(log._("runtime.version",{component:"Node-RED",version:"v"+settings.version}));
} }