Skip to content

Commit

Permalink
fix(logs): Use child process name instead of id in log filename
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Dec 4, 2018
1 parent f24922d commit b92ee2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class ProcessMonitor {
return
}

const targetName = this.id + '_' + moment().format('YYYY-MM-DD') + '.log'
const targetName = this.config.name + '_' + moment().format('YYYY-MM-DD') + '.log'
if (targetName === this.logFile) {
// Correct handle already open
return
Expand Down

0 comments on commit b92ee2d

Please sign in to comment.