|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
messageData limited with application activity trace |
« View previous topic :: View next topic » |
Author |
Message
|
vasilev |
Posted: Fri Mar 15, 2024 6:43 am Post subject: messageData limited with application activity trace |
|
|
 Acolyte
Joined: 31 Oct 2014 Posts: 71 Location: Germany
|
Hello,
I have configured mqat.ini like:
Code: |
AllActivityTrace:
ApplClass=USER
ActivityInterval=1
ActivityCount=100
TraceLevel=MEDIUM
TraceMessageData=10000
StopOnGetTraceMsg=OFF
SubscriptionDelivery=BATCHED |
according to the information provided from the vendor:
TraceMessageData 0 - 104 857 600 ( maximum 100 MB) Amount of message data traced in bytes for MQGET, MQPUT, MQPUT1, and Callback operations
In my case it is 10000 bytes. but even in this case - I have tested with some sample text with amqsput:
"Prevent the sample activity trace program from generating data"
and in the end I receive :
"Prevent the sample activity trace progra"
'messageData': '68652073797374656D207265736F7572636520524C494D49545F4E4F46494C452069732073657420', 'msgLength': 152,
I am reading with amqsevt .. -q SYSTEM.ADMIN.TRACE.ACTIVITY.QUEUE -w 1 -o json | jq . -c --slurp
Do you know why is this happening, am I missing something..
thank you ! _________________ Regards
V.Vasilev |
|
Back to top |
|
 |
vasilev |
Posted: Fri Mar 15, 2024 7:09 am Post subject: |
|
|
 Acolyte
Joined: 31 Oct 2014 Posts: 71 Location: Germany
|
I have answered myself ..
#define MAX_FORMAT_DATA_LEN (40) /* Max bytes to print of message data */
So here is the other question .. if I change this to 10000, what will be the change to the CPU/MEM usage .. is there some optimal max limit that has no impact to the QM
thanks _________________ Regards
V.Vasilev |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|