Merge pull request #507 from TNG-dev/hotfix-force-log

This commit is contained in:
zkldi
2021-12-02 00:31:58 +00:00
committed by GitHub
+1 -1
View File
@@ -134,7 +134,7 @@ if (ServerConfig.LOGGER_CONFIG.FILE) {
}
// If this is a job, force stdout writing no matter what.
if (ServerConfig.LOGGER_CONFIG.CONSOLE || process.env.IS_JOB) {
if (ServerConfig.LOGGER_CONFIG.CONSOLE || process.env.IS_JOB || process.env.FORCE_CONSOLE_LOG) {
tports.push(
new transports.Console({
format: consoleFormatRoute,