Disable log file writing on renderer (#3874)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and Jim Ehrismann committed 2021-09-23 07:03:55 -04:00
1 parent 2ef8aab2cc
commit bb7e688b26
1 file changed
+3 -3
+3 -3
View File
@@ -59,9 +59,6 @@ if (ipcMain) {
), ),
}) })
); );
} else {
transports.push(new BrowserConsole());
}
if (!isTestEnv) { if (!isTestEnv) {
transports.push( transports.push(
@@ -76,6 +73,9 @@ if (!isTestEnv) {
}) })
); );
} }
} else {
transports.push(new BrowserConsole());
}
export default winston.createLogger({ export default winston.createLogger({
format: format.simple(), format: format.simple(),