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

index 6e0e10fd406da85c9c24ba43e72d8eaf90b3e108..3556fd2af2ac96773a88f38aa66fa367a6d85f81 100755 (executable)
@@ -15,7 +15,11 @@ log4js.configure({
       numBackups: 3
     },
     out: {
-      type: 'stdout'
+      type: 'stdout',
+      layout: {
+        type: "pattern",
+        pattern: "%highlight[%d{DATE}] [%p] - %f:%l %m%n --", // Pattern including file and line number
+      },
     },
     errorFile: {
       type: "file",