I am using the Elastic APM Java agent with WildFly.
Is it possible to store only APM event logs (such as request-response time) in a file instead of sending them to the APM server?
I tried using -Delastic.apm.log_file
to store logs in a file, but it is also storing general APM logs. I only want to log performance-related metrics and do not want to send data to the APM server.
How can I disable log transmission to the APM server? Even after removing the server_url
, the agent still attempts to send data.