d09e1447b2
It's not immediately obvious where log output will go if the 'log_file' and 'use_syslog' directives are either missing or commented out. This patch updates the documentation in the config files to mention the stdout default. This should help remove any confusion when configuring logging for glance. Change-Id: I36f2a9d30bdee1949e60f413b7f181631c564ed5 Closes-Bug: #1248292
57 lines
1.8 KiB
Plaintext
57 lines
1.8 KiB
Plaintext
[DEFAULT]
|
|
# Show more verbose log output (sets INFO log level output)
|
|
#verbose = False
|
|
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
#debug = False
|
|
|
|
# Log to this file. Make sure you do not set the same log file for both the API
|
|
# and registry servers!
|
|
#
|
|
# If `log_file` is omitted and `use_syslog` is false, then log messages are
|
|
# sent to stdout as a fallback.
|
|
log_file = /var/log/glance/scrubber.log
|
|
|
|
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
|
|
#use_syslog = False
|
|
|
|
# Should we run our own loop or rely on cron/scheduler to run us
|
|
daemon = False
|
|
|
|
# Loop time between checking for new items to schedule for delete
|
|
wakeup_time = 300
|
|
|
|
# Directory that the scrubber will use to remind itself of what to delete
|
|
# Make sure this is also set in glance-api.conf
|
|
scrubber_datadir = /var/lib/glance/scrubber
|
|
|
|
# Only one server in your deployment should be designated the cleanup host
|
|
cleanup_scrubber = False
|
|
|
|
# pending_delete items older than this time are candidates for cleanup
|
|
cleanup_scrubber_time = 86400
|
|
|
|
# Address to find the registry server for cleanups
|
|
registry_host = 0.0.0.0
|
|
|
|
# Port the registry server is listening on
|
|
registry_port = 9191
|
|
|
|
# Auth settings if using Keystone
|
|
# auth_url = http://127.0.0.1:5000/v2.0/
|
|
# admin_tenant_name = %SERVICE_TENANT_NAME%
|
|
# admin_user = %SERVICE_USER%
|
|
# admin_password = %SERVICE_PASSWORD%
|
|
|
|
# Directory to use for lock files. Default to a temp directory
|
|
# (string value). This setting needs to be the same for both
|
|
# glance-scrubber and glance-api.
|
|
#lock_path=<None>
|
|
|
|
# ================= Security Options ==========================
|
|
|
|
# AES key for encrypting store 'location' metadata, including
|
|
# -- if used -- Swift or S3 credentials
|
|
# Should be set to a random string of length 16, 24 or 32 bytes
|
|
#metadata_encryption_key = <16, 24 or 32 char registry metadata key>
|