APM only shows errors and Warnings

Good afternoon!
I would like to know if it is possible to configure the different APM agents to log only errors and warnings. Is it possible to do this? How?
Thank you!

@mar-ro Hi! Yes that can be done by setting the "log_level" config var to "warning". For example, here are the docs for that config variable for the Node.js APM agent: Configuration options | APM Node.js Agent Reference [3.x] | Elastic

or for the Java APM agent: Logging configuration options | APM Java Agent Reference [1.x] | Elastic

How each agent is configured varies from language to language a little bit. Most (all?) recent agent versions support setting the log_level via "central config" in Kibana, if that is an option for you.