feat: move logging configuration into its own section
[e-mobility-charging-stations-simulator.git] / src / assets / config-template.json
index e1620aa7c899a071171eda539565f679ddb701b2..a875173f2069434ffb3740bab5ebb09d6d568053 100644 (file)
@@ -1,6 +1,12 @@
 {
   "supervisionUrls": ["ws://localhost:8010/OCPP16/5be7fb271014d90008992f06"],
   "supervisionUrlDistribution": "round-robin",
+  "log": {
+    "file": "logs/combined.log",
+    "errorFile": "logs/error.log",
+    "maxFiles": 7,
+    "statisticsInterval": 0
+  },
   "worker": {
     "processType": "workerSet",
     "elementsPerWorker": 1,
@@ -42,9 +48,5 @@
       "file": "schneider.station-template.json",
       "numberOfStations": 1
     }
-  ],
-  "logStatisticsInterval": 0,
-  "logMaxFiles": 7,
-  "logFile": "combined.log",
-  "logErrorFile": "error.log"
+  ]
 }