benoitc/gunicorn

Separate instrumentation and logging

开放

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

 (9 条评论) (4 个反应) (0 位负责人)Python (1,707 个派生)batch import
Feature/LoggingImprovementhelp wanted

仓库指标

星标
 (9,334 个星标)
PR 合并指标
 (平均合并 8小时 8分钟) (30 天内合并 1 个 PR)

描述

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.

贡献者指南