benoitc/gunicorn

Separate instrumentation and logging

Open

#1,564 创建于 2017年8月6日

在 GitHub 查看
 (9 评论) (4 反应) (0 负责人)Python (9,334 star) (1,707 fork)batch import
Feature/LoggingImprovementhelp wanted

描述

Issues like #1405 demonstrate that having statsd instrumentation built on top of the logging handlers means instrumentation and logging are coupled. Some have found this coupling surprising.

I would like to see proposals for ways to separate these functions.

This may be as simple as making the statsd Logger into a handler instead, so it can be invoked no matter which logger is being used.

贡献者指南

Separate instrumentation and logging · benoitc/gunicorn#1564 | Good First Issue