-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FFST is printed in logs and spams kibana #111
Comments
Not really a Spring Boot thing, as FFDCs are controlled by the underlying MQ JMS client. But anyway ... there's no way I know of to completely block all FFST. They are not the same as trace or log data. But you might be able to set up directories so that the FFDCs are written somewhere else instead of stderr. (I think by default it tries to create and write into an FFDC directory under your current working directory and only uses stderr if that fails.) What you CAN do however is significantly reduce the number that are generated. The product documentation explains how you can suppress multiple instances of the same FFST probes from a given process. Setting the |
Hey @ibmmqmet. Thanks for your fast response! Setting this I would still suggest to provide a patch or change in the library that fixes this behaviour or at least gives more control over it. Thanks a lot @ibmmqmet |
We tried to set |
Hey again! We have serious issues with this behaviour. Million of logs are written into our kibana and there is no way to turn off this behaviour. We are currently trying to redirect it to a file and then remove the file every minute with a cron job. But this is frankly not an acceptable solution. |
The product documentation describes how to do additional configuration of the diagnostics components. So if I run with There are ways to hook into the Logging framework for Tracing as shown here but that doesn't really cover FFDCs which are considered more important. And as I said before, all of thise is really outside the scope of this package - it's handled by the core MQ Java client libraries, and issues or changes to it would have to be handled initially by IBM support or by feature enhancement requests. |
Please include the following information in your ticket.
In our current spring boot(3.2.4) project we encounter issues with logging from the library. Namely there are logs written to the stderr that we can't control and spam our kibana. Whenever we cannot connect to the ibm mq the library responds with an FFST log that is written to our kibana.
We see ton's of log entries with the following format:
XMSC_WMQ_BROKER_CONTROLQ
or
FFST Location
We tried to use:
-Dcom.ibm.msg.client.commonservices.log.status=OFF
as well as-Dcom.ibm.msg.client.commonservices.log.maxBytes=0
but non of them prevented the library from writing these logs.The text was updated successfully, but these errors were encountered: