1. 程式人生 > >log4j設置rabbit監聽日誌級別

log4j設置rabbit監聽日誌級別

pre log prope 16px lis queue spa bit ogg

log4j.properties 文件中加入如下代碼:

log4j.logger.org.springframework.amqp.rabbit.listener.SimpleMessageListenerContainer=info log4j.logger.org.springframework.amqp.rabbit.listener.BlockingQueueConsumer=info

重啟服務

log4j設置rabbit監聽日誌級別