I am using spring boot and I am trying to get my own messages on console file if any exception occurs. But I am getting also other messages too from RabbitMQ like:
org.springframework.amqp.rabbit.support.ListenerExecutionFailedException
org.springframework.amqp.rabbit.support.ListenerExecutionFailedException: Retry Policy Exhausted
Caused by: org.springframework.amqp.AmqpRejectAndDontRequeueException: null
These are the messages which I don't want to be print on log file because it will make log file messy and contains more memory.
Is there any way to prevent from these messages to not to be printed.