Update glance config files with log defaults

The default for the verbose config option is False and the sample config
file should reflect that.

Also, comment out the defaults of the config options so that it is clear
that the sample file is showing the default in the code rather than
overriding it.

Change-Id: I3913ea54465658d93dc56e014dfe5d911b0541d6
This commit is contained in:
Mark McLoughlin 2013-01-21 14:41:50 +00:00
parent 79efac44b4
commit 5e672def89
4 changed files with 12 additions and 12 deletions

View File

@ -1,9 +1,9 @@
[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = True
#verbose = False
# Show debugging output in logs (sets DEBUG log level output)
debug = False
#debug = False
# Which backend scheme should Glance use by default is not specified
# in a request to add a new image to Glance? Known schemes are determined
@ -81,7 +81,7 @@ workers = 1
# Send logs to syslog (/dev/log) instead of to file specified
# by `log_file`
use_syslog = False
#use_syslog = False
# Facility to use. If unset defaults to LOG_USER.
#syslog_log_facility = LOG_LOCAL0

View File

@ -1,14 +1,14 @@
[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = True
#verbose = False
# Show debugging output in logs (sets DEBUG log level output)
debug = False
#debug = False
log_file = /var/log/glance/image-cache.log
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
use_syslog = False
#use_syslog = False
# Directory that the Image Cache writes data to
image_cache_dir = /var/lib/glance/image-cache/

View File

@ -1,9 +1,9 @@
[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = True
#verbose = False
# Show debugging output in logs (sets DEBUG log level output)
debug = False
#debug = False
# Address to bind the registry server
bind_host = 0.0.0.0
@ -51,7 +51,7 @@ limit_param_default = 25
# Send logs to syslog (/dev/log) instead of to file specified
# by `log_file`
use_syslog = False
#use_syslog = False
# Facility to use. If unset defaults to LOG_USER.
#syslog_log_facility = LOG_LOCAL1

View File

@ -1,16 +1,16 @@
[DEFAULT]
# Show more verbose log output (sets INFO log level output)
verbose = True
#verbose = False
# Show debugging output in logs (sets DEBUG log level output)
debug = False
#debug = False
# Log to this file. Make sure you do not set the same log
# file for both the API and registry servers!
log_file = /var/log/glance/scrubber.log
# Send logs to syslog (/dev/log) instead of to file specified by `log_file`
use_syslog = False
#use_syslog = False
# Should we run our own loop or rely on cron/scheduler to run us
daemon = False