Default connection logging overflowing on Servicebus with spring.jms.servicebus

Madanala, Jayashree 151 Reputation points
2023-02-20T14:29:03.1633333+00:00

We are using Azure service bus with Spring.jms.service

I can see lots of logging below are getting piled up in console and i am missing actual errors.

2023-02-20 14:06:52.064 INFO 1 --- [windows.net:-1]] org.apache.qpid.jms.JmsConnection : Connection ID:a18cf36e-f5bc-4a31-9825-412e5563c464:21320 connected to server: amqps://test-servicebus.windows.net

2023-02-20 14:06:52.529 INFO 1 --- [windows.net:-1]] org.apache.qpid.jms.JmsConnection : Connection ID:b13b946b-1592-42eb-b95e-f260d62309aa:21319 connected to server: amqps://test.servicebus.windows.net

How to overcome this. The connection yo service bus should be displayed only once and disconnection also should display only once.

How to add info or error logs for service bus.

Can you please help here.

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
676 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.