You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's how I integrated it into Flask, it's simply adding the handler to app.logger which Flask exposes:
# Add an ECS formatter to the Handler
handler = logging.StreamHandler()
handler.setFormatter(ecs_logging.StdlibFormatter())
app.logger.addHandler(handler)
It would be great to have an example that works with flask.
The text was updated successfully, but these errors were encountered: