mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add os/platform info to default debug
This commit is contained in:
parent
afbaf1cfe0
commit
b89e866d39
@ -24,6 +24,7 @@ var events = require("./events");
|
|||||||
var settings = require("./settings");
|
var settings = require("./settings");
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
var fs = require("fs");
|
var fs = require("fs");
|
||||||
|
var os = require("os");
|
||||||
|
|
||||||
var runtimeMetricInterval = null;
|
var runtimeMetricInterval = null;
|
||||||
|
|
||||||
@ -94,6 +95,7 @@ function start() {
|
|||||||
log.info(log._("runtime.version",{component:"Node-RED",version:"v"+settings.version}));
|
log.info(log._("runtime.version",{component:"Node-RED",version:"v"+settings.version}));
|
||||||
}
|
}
|
||||||
log.info(log._("runtime.version",{component:"Node.js ",version:process.version}));
|
log.info(log._("runtime.version",{component:"Node.js ",version:process.version}));
|
||||||
|
log.info(os.type()+" "+os.release()+" "+os.arch()+" "+os.endianness());
|
||||||
log.info(log._("server.loading"));
|
log.info(log._("server.loading"));
|
||||||
return redNodes.load().then(function() {
|
return redNodes.load().then(function() {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user