Merge branch 'territoryLogs' into 'main'

update readme

See merge request v3/services/logger!6
This commit is contained in:
Sylvain Briat 2023-02-07 17:34:09 +00:00
commit bf17ac9c9c
1 changed files with 0 additions and 12 deletions

View File

@ -53,18 +53,6 @@ It is the responsibility of each service to set the routing key to the appropria
To handle logs for a given service, a controller corresponding to the service must be set. In this controller, you must define a handler for each action and level. You must also define a unique RabbitMQ queue for this handler (this permits to use durable queues, allowing to keep logs in RabbitMQ even if the logger service is down).
## Test
```bash
# unit tests
docker exec v3-user sh -c "npm run test"
# test coverage
docker exec v3-user sh -c "npm run test:cov"
```
Note : you can run all npm commands directly _outside_ the container (see _scripts_ section of `package.json` for available commands), but you need NodeJS installed locally. We **strongly** advise to install [Node Version Manager](https://github.com/nvm-sh/nvm) and use the latest LTS version of Node.
## License
Mobicoop V3 - Logger Service is [AGPL licensed](LICENSE).