mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-14 01:59:05 +03:00
Force stdout writing if IS_JOB.
This commit is contained in:
@@ -133,7 +133,8 @@ if (ServerConfig.LOGGER_CONFIG.FILE) {
|
||||
);
|
||||
}
|
||||
|
||||
if (ServerConfig.LOGGER_CONFIG.CONSOLE) {
|
||||
// If this is a job, force stdout writing no matter what.
|
||||
if (ServerConfig.LOGGER_CONFIG.CONSOLE || process.env.IS_JOB) {
|
||||
tports.push(
|
||||
new transports.Console({
|
||||
format: consoleFormatRoute,
|
||||
|
||||
Reference in New Issue
Block a user