This should fix #848.
If --statsd-host is set to some value, it will set logger_class to the StatsD logger. If the option is not present it respects any logger_class that is passed as an option.
Respect logger_class setting unless statsd is on
Could be written simply as if self.settings.get('statsd_host') is not None
if self.settings.get('statsd_host') is not None
Just my style. Ignore me. It's fine :-D
Thanks for checking into this. The fix looks good.
I've just ran make -C docs html to update the docs/source/settings.rst file: 9adf122
make -C docs html
The online documentation is up-to-date.