c451de83b9
Change-Id: I05ef04c77b68f0c68d86ae49a5fee68c2f86c80a
32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
[DEFAULT]
|
|
# Show more verbose log output (sets INFO log level output)
|
|
verbose = True
|
|
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
debug = False
|
|
|
|
log_file = /var/log/glance/pruner.log
|
|
|
|
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
|
|
use_syslog = False
|
|
|
|
image_cache_max_size_bytes = 1073741824
|
|
|
|
# Percentage of the cache that should be freed (in addition to the overage)
|
|
# when the cache is pruned
|
|
#
|
|
# A percentage of 0% means we prune only as many files as needed to remain
|
|
# under the cache's max_size. This is space efficient but will lead to
|
|
# constant pruning as the size bounces just-above and just-below the max_size.
|
|
#
|
|
# To mitigate this 'thrashing', you can specify an additional amount of the
|
|
# cache that should be tossed out on each prune.
|
|
image_cache_percent_extra_to_free = 0.20
|
|
|
|
# Directory that the Image Cache writes data to
|
|
# Make sure this is also set in glance-api.conf
|
|
image_cache_datadir = /var/lib/glance/image-cache/
|
|
|
|
[app:glance-pruner]
|
|
paste.app_factory = glance.image_cache.pruner:app_factory
|