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.

貢獻者指南