-
1. Re: How to control the file size of MQ log file in JBoss with IBM MQ integration?
dgrove_redhat.com Oct 10, 2014 11:27 AM (in response to vimodchandra)IBM MQ logging uses the IBM common services for logging. You can set java JVM properties:
"com.ibm.msg.client.commonservices.trace.status" value="OFF"
"com.ibm.msg.client.commonservices.trace.level" value="0"
"com.ibm.msg.client.commonservices.trace.append" value="true"
"com.ibm.msg.client.commonservices.trace.startup" value="true"
"com.ibm.msg.client.commonservices.trace.maxBytes" value="-1"
"com.ibm.msg.client.commonservices.trace.limit" value="2097152"
"com.ibm.msg.client.commonservices.trace.count" value="1"
"com.ibm.msg.client.commonservices.trace.standalone" value="true"
"com.ibm.msg.client.commonservices.trace.errorStream" value="${jboss.server.log.dir}/wmq-trace-error.log"
"com.ibm.msg.client.commonservices.trace.outputName" value="${jboss.server.log.dir}/wmq-trace.log"
"com.ibm.msg.client.commonservices.log.outputName" value="${jboss.server.log.dir}/wmq.log"
"com.ibm.msg.client.commonservices.log.status" value="ON"
"com.ibm.msg.client.commonservices.log.maxBytes" value="-1"
"com.ibm.msg.client.commonservices.log.limit" value="2097152"
"com.ibm.msg.client.commonservices.log.count" value="1"
"com.ibm.msg.client.commonservices.log.append" value="true"
"com.ibm.msg.client.commonservices.ffst.suppress" value="-1"
i.e, in you run.conf file
-Dcom.ibm.msg.client.commonservices.log.count=5 -Dcom.ibm.msg.client.commonservices.log.maxBytes=1000000
Hope that helps,
Doug
-
2. Re: How to control the file size of MQ log file in JBoss with IBM MQ integration?
vimodchandra Oct 14, 2014 7:41 AM (in response to dgrove_redhat.com)It worked ! Thanks Doug ....