Node.js based forum software built for the modern web
refactor: closes #12699, allow boolean false for log-colorize
Barış Soner Uşaklı42ac1f9db401
diff --git a/src/prestart.js b/src/prestart.jsindex 7a84a0a958..b09ef5d9bc 100644--- a/src/prestart.js+++ b/src/prestart.js@@ -15,7 +15,7 @@ function setupWinston() {}const formats = [];- if (nconf.get('log-colorize') !== 'false') {+ if (nconf.get('log-colorize') !== 'false' && nconf.get('log-colorize') !== false) {formats.push(winston.format.colorize());}