By default the INFO logging is printing in the console how to disable it ?
How to browse the message in the solace mq ? do we have any tool for this ?
Thanks
Logging configuration is dependant on the platform of the application. The Solace JMS and JCSMP API logging uses Jakarta Commons Logging to support different logging frameworks, such as log4j or java.util.logging. The other answer by user Farside shows how to change the logging level if you are using log4j with the Solace JMS API.
You can find more information about logging in your specific platform in the Solace Messaging API guides or in the integration guides provided on the Solace Systems Developer Portal.
To see information about the spooled messages on a queue in Solace, you can use the CLI or SolAdmin.
In the CLI, the command is:
show queue <queueName> message-vpn <vpnName> messages detail
This will allow you to see information on each message in the queue, such as the date spooled, message size, sequence number, etc.
In SolAdmin, you can view the equivalent information by navigating to the 'Endpoints' tab and selecting the 'Durable Queues' view. From this view, you can double click on the queue in the list and select the 'Messages' tab. You can double click on a specific message to view more information.
To view the full contents of a spooled message, you can create a Queue Browser. This is a client that can look at messages spooled on a queue in order of oldest to newest without consuming them. A full description of a Queue Browser is provided in Chapter 9, "Working with Guaranteed Messages" of the Solace Messaging Platform Feature Guide. Details about creating a Queue Browser are provided in the Solace Messaging APIs Developer Guide. These documents are available on the Solace Systems developer portal at this link: http://dev.solacesystems.com/docs/product-documentation/
Solace JMS API logging is very similar to configuring any other Spring Framework logging. They say, to define the level of logging use:
log4j.category.com.solacesystems.jms=DEBUG
log4j.category.com.solacesystems.jcsmp=DEBUG
More information can be found here: section "6.1 How to enable Solace JMS API logging". By default info logs will be written to the console.