Show More
@@ -26,9 +26,10 b' def client_from_config(configuration, pr' | |||
|
26 | 26 | from pyramid.settings import asbool |
|
27 | 27 | |
|
28 | 28 | _config = statsd_config(configuration, prefix) |
|
29 | statsd_flag = _config.get('enabled') | |
|
29 | 30 | statsd_enabled = asbool(_config.pop('enabled', False)) |
|
30 | 31 | if not statsd_enabled: |
|
31 | log.debug('statsd client not enabled by statsd.enabled = flag, skipping...') | |
|
32 | log.debug('statsd client not enabled by statsd.enabled = %s flag, skipping...', statsd_flag) | |
|
32 | 33 | return |
|
33 | 34 | |
|
34 | 35 | host = _config.pop('statsd_host', HOST) |
General Comments 0
You need to be logged in to leave comments.
Login now