]> PHS Git Server - phs-api.git/commitdiff
Testing vpn paths.
authorcharleswrayjr <charleswrayjr@gmail.com>
Mon, 8 Sep 2025 17:43:45 +0000 (12:43 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Mon, 8 Sep 2025 17:43:45 +0000 (12:43 -0500)
src/middleware/loggerMiddleWare.js

index 9981f61849896c3815ee367bab7c8da09ff7f806..3bf413dd52a261c0670d133df224f5c654f38b79 100755 (executable)
@@ -18,7 +18,15 @@ log4js.configure({
       type: 'stdout',
       layout: {
         type: "pattern",
-        pattern: "\u001b[33m[%d{ISO8601}] [%p]\u001b[0m%] - %f:%l %m%n --", // Pattern including file and line number
+        pattern: "[%d{ISO8601}] [%p] - %f:%l %m%n --", // Pattern including file and line number
+        highlight: {
+          FATAL: 'red',
+          ERROR: 'red',
+          WARN: 'yellow',
+          INFO: 'green',
+          DEBUG: 'blue',
+          TRACE: 'cyan'
+        }
       },
     },
     errorFile: {