mirror of
https://gitlab.com/mobicoop/v3/service/logger.git
synced 2026-01-10 22:12:40 +00:00
refactor
This commit is contained in:
@@ -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 :
|
||||
|
||||
- **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) :
|
||||
- **emer** : Emergency: system is unusable
|
||||
- **alert** : Alert: action must be taken immediately
|
||||
|
||||
Reference in New Issue
Block a user