Merge branch 'updateQueueNames' into 'main'

refactor

See merge request v3/service/logger!20
This commit is contained in:
Sylvain Briat 2023-06-29 10:26:09 +00:00
commit 5efffbef3d
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ The app runs automatically on the port defined in `SERVICE_PORT` of `.env` file
The app subscribes to RabbitMQ queues in order to log messages. We use the routing key with the given format : <**service**>.<**action**>.<**level**>, with : The app subscribes to RabbitMQ queues in order to log messages. We use the routing key with the given format : <**service**>.<**action**>.<**level**>, with :
- **service** : the name of the service that has emitted the message - **service** : the name of the service that has emitted the message
- **action** : the action that triggered the message (one or more words separated by a dot, last word should be ) - **action** : the action that triggered the message (one or more words separated by a dot, last word should be a past action)
- **level** : the severity (_log level_) of the message, as described in [RFC5424 syslog](https://www.rfc-editor.org/rfc/rfc5424) : - **level** : the severity (_log level_) of the message, as described in [RFC5424 syslog](https://www.rfc-editor.org/rfc/rfc5424) :
- **emer** : Emergency: system is unusable - **emer** : Emergency: system is unusable
- **alert** : Alert: action must be taken immediately - **alert** : Alert: action must be taken immediately