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