mirror of
https://github.com/WebTools-NG/WebTools-NG
synced 2024-11-27 05:20:22 +00:00
Fixed #169
This commit is contained in:
parent
d1ed09f063
commit
a3be9ed38c
2 changed files with 7 additions and 1 deletions
|
@ -23,6 +23,11 @@ const wtutils = new class WTUtils {
|
|||
return configFileName;
|
||||
}
|
||||
|
||||
get RunningOS(){
|
||||
|
||||
return process.platform;
|
||||
}
|
||||
|
||||
get PMSHeader(){
|
||||
var headers = {
|
||||
"Accept": "application/json",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue