diff --git a/src/components/modules/General/wtutils.js b/src/components/modules/General/wtutils.js index 90a14fd..43e017f 100644 --- a/src/components/modules/General/wtutils.js +++ b/src/components/modules/General/wtutils.js @@ -23,6 +23,11 @@ const wtutils = new class WTUtils { return configFileName; } + get RunningOS(){ + + return process.platform; + } + get PMSHeader(){ var headers = { "Accept": "application/json", diff --git a/src/main.js b/src/main.js index 3925299..95cd5bd 100644 --- a/src/main.js +++ b/src/main.js @@ -34,7 +34,8 @@ log.transports.file.fileName = wtutils.AppName; // Set logfile to 10Mb log.transports.file.maxSize = wtconfig.get('Log.maxSize', 1048576); log.info('*********************************') -log.info('Starting ' + wtutils.AppName + ' Version:' + wtutils.AppVersion); +log.info(`Starting ${wtutils.AppName} Version: ${wtutils.AppVersion}`); +log.info(`Running on ${wtutils.RunningOS}`) // Logging ended // Prepopulate config file with defaults