Show More
@@ -64,7 +64,10 b' def configure_dogpile_cache(settings):' | |||||
64 |
|
64 | |||
65 | new_region.configure_from_config(settings, 'rc_cache.{}.'.format(region_name)) |
|
65 | new_region.configure_from_config(settings, 'rc_cache.{}.'.format(region_name)) | |
66 | new_region.function_key_generator = backend_key_generator(new_region.actual_backend) |
|
66 | new_region.function_key_generator = backend_key_generator(new_region.actual_backend) | |
67 | log.debug('dogpile: registering a new region %s[%s]', region_name, new_region.__dict__) |
|
67 | if log.isEnabledFor(logging.DEBUG): | |
|
68 | region_args = dict(backend=new_region.actual_backend.__class__, | |||
|
69 | region_invalidator=new_region.region_invalidator.__class__) | |||
|
70 | log.debug('dogpile: registering a new region `%s` %s', region_name, region_args) | |||
68 | region_meta.dogpile_cache_regions[region_name] = new_region |
|
71 | region_meta.dogpile_cache_regions[region_name] = new_region | |
69 |
|
72 | |||
70 |
|
73 |
General Comments 0
You need to be logged in to leave comments.
Login now