You can enable JMS trace in Weblogic for each managed server that use JMS to connect to IBM MQ for messaging .
To enable MQ JMS trace on Weblogic , please add below JVM property:
-Dcom.ibm.msg.client.commonservices.trace.status=ON
Restart each JVM after the JVM argument is added to get this affected .
With the above statement filesystem will get full with a single file . To control the no of files and location of the log file to be written use the following JVM arguements
-Dcom.ibm.msg.client.commonservices.trace.status=ON -Dcom.ibm.msg.client.commonservices.trace.limit=102400000 -Dcom.ibm.msg.client.commonservices.trace.count=20 -Dcom.ibm.msg.client.commonservices.trace.outputName=/tmp/jmstrace.log
This will write 20 files of each 100mb approx and the files will be available in /tmp location