mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
disable log file writing on renderer
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
3fc5b83461
commit
c41e820148
1 file changed
+3
-3
@@ -59,9 +59,6 @@ if (ipcMain) {
|
||||
),
|
||||
})
|
||||
);
|
||||
} else {
|
||||
transports.push(new BrowserConsole());
|
||||
}
|
||||
|
||||
if (!isTestEnv) {
|
||||
transports.push(
|
||||
@@ -76,6 +73,9 @@ if (!isTestEnv) {
|
||||
})
|
||||
);
|
||||
}
|
||||
} else {
|
||||
transports.push(new BrowserConsole());
|
||||
}
|
||||
|
||||
export default winston.createLogger({
|
||||
format: format.simple(),
|
||||
|
||||
Reference in new issue
Block a user