monitor debug info in console log requires config.debugLogMonitors = true now

email-send-options-from-account
Moe 2021-10-27 10:16:41 -07:00
parent 5abcbcb3b4
commit 339fc6a425
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ module.exports = async (s,config,lang,onFinish) => {
e.sdir + 'cmd.txt'
]
const cameraProcess = spawn('node',cameraCommandParams,{detached: true,stdio: stdioPipes})
if(config.debugLog === true){
if(config.debugLog === true && config.debugLogMonitors === true){
cameraProcess.stderr.on('data',(data) => {
console.log(`${e.ke} ${e.mid}`)
console.log(data.toString())