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:
parent
28a65923b6
commit
f143a6ba08
@ -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}));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user