APM flush logging

Hi,

I'm running the Flask APM agent and when added to my script it starts filling my logs with the following every 5-10 seconds

flushing due to time since last flush 9.060s > max_flush_time 9.060s

Which is making it harder to track between requests.

Is there a way to disable this log without going into the file and removing it manually?

Thanks

How are you initialising the agent? That message will only be logged at DEBUG level logging. You probably don't need to log this level of detail unless you're actively investigating an agent issue.

You can specify the log level in the elasticapm.contrib.flask.ElasticAPM call. See Flask support | APM Python Agent Reference [6.x] | Elastic for details.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.