refactor
This commit is contained in:
		
							parent
							
								
									d7ec0e7da0
								
							
						
					
					
						commit
						54a60b5f9b
					
				| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue