Skip to content

Commit 4f27728

Browse files
committed
better logging
1 parent 8f1c6c4 commit 4f27728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ app.on('ready', async () => {
101101

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

107107
// add a startup delay

0 commit comments

Comments
 (0)