mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 12:58:11 +03:00
Merge pull request #507 from TNG-dev/hotfix-force-log
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user