Skip to content

Commit

Permalink
better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanvorster committed Mar 3, 2024
1 parent 8f1c6c4 commit 4f27728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ app.on('ready', async () => {

// useful for debugging
if (configEngine.config.logFile) {
logger.add(new transports.File({ filename: 'combined.log', level: 'debug' }));
logger.add(new transports.File({ filename: 'combined.log', dirname: app.getPath('logs'), level: 'debug' }));
}

// add a startup delay
Expand Down

0 comments on commit 4f27728

Please sign in to comment.