You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I was trying to modify the logs path from the default daemon folder to a custom folder using the logpath property as follows:
// Create a new service object
var svc = new Service({
name:'Hello World',
description: 'The nodejs.org example web server.',
script: 'C:\path\to\helloworld.js',
logpath:'myCustomPath\helloworldLogs.log',
nodeOptions: [
'--harmony',
'--max_old_space_size=4096'
]
//, workingDirectory: '...'
//, allowServiceLogon: true
});
but it did not work. Could you please help
The text was updated successfully, but these errors were encountered:
Hi,
I was trying to modify the logs path from the default daemon folder to a custom folder using the logpath property as follows:
// Create a new service object
var svc = new Service({
name:'Hello World',
description: 'The nodejs.org example web server.',
script: 'C:\path\to\helloworld.js',
logpath:'myCustomPath\helloworldLogs.log',
nodeOptions: [
'--harmony',
'--max_old_space_size=4096'
]
//, workingDirectory: '...'
//, allowServiceLogon: true
});
but it did not work. Could you please help
The text was updated successfully, but these errors were encountered: