From: Jérôme Benoit Date: Fri, 23 Dec 2022 20:57:15 +0000 (+0100) Subject: README.md: add link to winston repo X-Git-Tag: v1.1.89~57 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=21899fc2c060ab59f3fd07c10bbdeff12020a77d;p=e-mobility-charging-stations-simulator.git README.md: add link to winston repo Signed-off-by: Jérôme Benoit --- diff --git a/README.md b/README.md index 39e45b10..8493060d 100644 --- a/README.md +++ b/README.md @@ -96,11 +96,11 @@ But the modifications to test have to be done to the files in the build target d | supervisionUrlDistribution | round-robin/random/charging-station-affinity | charging-station-affinity | boolean | supervision urls distribution policy to simulated charging stations | | logStatisticsInterval | | 60 | integer | seconds between charging stations statistics output in the logs | | logConsole | true/false | false | boolean | output logs on the console | -| logFormat | | simple | string | winston log format | +| logFormat | | simple | string | [winston](https://github.com/winstonjs/winston) log format | | logRotate | true/false | true | boolean | enable daily log files rotation | | logMaxFiles | x, "xd" where x is an integer | undefined | integer \| string | maximum number of log files | | logMaxSize | x, "xk", "xm", "xg" where x is a number | undefined | number \| string | maximum size of log files in bytes, or units of kB, mB, and gB | -| logLevel | emerg/alert/crit/error/warning/notice/info/debug | info | string | winston logging level | +| logLevel | emerg/alert/crit/error/warning/notice/info/debug | info | string | [winston](https://github.com/winstonjs/winston) logging level | | logFile | | combined.log | string | log file relative path | | logErrorFile | | error.log | string | error log file relative path | | worker | | {
"processType": "workerSet",
"startDelay": 500,
"elementStartDelay": 0,
"elementsPerWorker": 1,
"poolMinSize": 4,
"poolMaxSize": 16,
"poolStrategy": "ROUND_ROBIN"
} | {
processType: WorkerProcessType;
startDelay: number;
elementStartDelay: number;
elementsPerWorker: number;
poolMinSize: number;
poolMaxSize: number;
poolStrategy: WorkerChoiceStrategy;
} | Worker configuration section:
- processType: worker threads process type (workerSet/staticPool/dynamicPool)
- startDelay: milliseconds to wait at worker threads startup (only for workerSet threads process type)
- elementStartDelay: milliseconds to wait at charging station startup
- elementsPerWorker: number of charging stations per worker threads for the `workerSet` process type
- poolMinSize: worker threads pool minimum number of threads
- poolMaxSize: worker threads pool maximum number of threads
- poolStrategy: worker threads pool [poolifier](https://github.com/poolifier/poolifier) worker choice strategy |