disable log file writing on renderer

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-09-23 11:24:53 +03:00
1 parent 3fc5b83461
commit c41e820148
1 file changed
+4 -4
+4 -4
View File
@@ -59,11 +59,8 @@ if (ipcMain) {
),
})
);
} else {
transports.push(new BrowserConsole());
}
if (!isTestEnv) {
if (!isTestEnv) {
transports.push(
new winston.transports.File({
handleExceptions: false,
@@ -75,6 +72,9 @@ if (!isTestEnv) {
tailable: true,
})
);
}
} else {
transports.push(new BrowserConsole());
}
export default winston.createLogger({