From 4e28866d29886d8d11d2bd5adfb40333be1e1d97 Mon Sep 17 00:00:00 2001 From: bloodearnest Date: Fri, 12 Feb 2016 11:42:41 +0000 Subject: [PATCH] Update docs - more explicit info on logger_class --- docs/source/settings.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/source/settings.rst b/docs/source/settings.rst index 439c63f83..133bda35e 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -616,7 +616,10 @@ statsd_host ``host:port`` of the statsd server to log to. Note: enabling this switches the default *logger_class* to -``gunicorn.instrument.statsd.Statsd`` +``gunicorn.instrument.statsd.Statsd``. If you wish to use statsd with +a custom *logger_class*, you should make sure your class is API +compatible with ``gunicorn.instrument.statsd.Statsd``, or inherit from +it. .. versionadded:: 19.1