Python flask – Log to 2 different destinations with different log error levels Flask flyf35 — 8 April 2023 · Comments off Solution import logging from elasticapm.contrib.flask import ElasticAPM apm = ElasticAPM(app, logging=logging.ERROR)