ibm-messaging / mq-golang

Calling IBM MQ from Go applications
Apache License 2.0
168 stars 60 forks source link

Disabling .FDC and .LOG logging #156

Closed Ivansamara109 closed 3 years ago

Ivansamara109 commented 3 years ago

Hello!

Can I disabling logging on my docker container In /IBM/MQ/data/errors/AMQ.FDC and AMQ.LOG files? Or to limit it's size?

Thanks!

ibmmqmet commented 3 years ago

The [DiagnosticSystemMessages stanza(https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.2.0/com.ibm.mq.con.doc/q130440_.html) in an mqclient.ini file can be used for some control of what goes into error logs. And an MQMAXERRORLOGSIZE environment variable may also help.

But if you are getting lots of FDCs, then the solution is to fix whatever is causing them, as FDCs are usually indicative of critical (possibly internal) errors. You can't disable FDCs for that reason.

Ivansamara109 commented 3 years ago

thanks for the answer!