mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Disable log file writing on renderer (#3874)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
02c90c760d
commit
06854b4cac
@ -59,11 +59,8 @@ if (ipcMain) {
|
|||||||
),
|
),
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
} else {
|
|
||||||
transports.push(new BrowserConsole());
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isTestEnv) {
|
if (!isTestEnv) {
|
||||||
transports.push(
|
transports.push(
|
||||||
new winston.transports.File({
|
new winston.transports.File({
|
||||||
handleExceptions: false,
|
handleExceptions: false,
|
||||||
@ -75,6 +72,9 @@ if (!isTestEnv) {
|
|||||||
tailable: true,
|
tailable: true,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
transports.push(new BrowserConsole());
|
||||||
}
|
}
|
||||||
|
|
||||||
export default winston.createLogger({
|
export default winston.createLogger({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user