debug + verbose
This commit is contained in:
parent
78df6dad85
commit
3acece0450
@ -41,6 +41,14 @@ options:
|
||||
default: False
|
||||
description: |
|
||||
If set to True, supporting services will log to syslog.
|
||||
debug:
|
||||
default: False
|
||||
type: boolean
|
||||
description: Enable debug logging
|
||||
verbose:
|
||||
default: False
|
||||
type: boolean
|
||||
description: Enable verbose logging
|
||||
# HA configuration settings
|
||||
vip:
|
||||
type: string
|
||||
|
@ -79,7 +79,8 @@ CONFIG_FILES = OrderedDict([
|
||||
'hook_contexts': [context.SharedDBContext(ssl_dir=GLANCE_CONF_DIR),
|
||||
context.PostgresqlDBContext(),
|
||||
context.IdentityServiceContext(),
|
||||
context.SyslogContext()],
|
||||
context.SyslogContext(),
|
||||
context.OSConfigFlagContext()],
|
||||
'services': ['glance-registry']
|
||||
}),
|
||||
(GLANCE_API_CONF, {
|
||||
@ -90,7 +91,8 @@ CONFIG_FILES = OrderedDict([
|
||||
glance_contexts.CephGlanceContext(),
|
||||
glance_contexts.ObjectStoreContext(),
|
||||
glance_contexts.HAProxyContext(),
|
||||
context.SyslogContext()],
|
||||
context.SyslogContext(),
|
||||
context.OSConfigFlagContext()],
|
||||
'services': ['glance-api']
|
||||
}),
|
||||
(GLANCE_API_PASTE_INI, {
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
verbose = True
|
||||
verbose = {{ verbose }}
|
||||
use_syslog = {{ use_syslog }}
|
||||
debug = True
|
||||
debug = {{ debug }}
|
||||
|
||||
{% if rbd_pool -%}
|
||||
default_store = rbd
|
||||
|
@ -1,7 +1,8 @@
|
||||
[DEFAULT]
|
||||
verbose = True
|
||||
verbose = {{ verbose }}
|
||||
use_syslog = {{ use_syslog }}
|
||||
debug = True
|
||||
debug = {{ debug }}
|
||||
|
||||
bind_host = 0.0.0.0
|
||||
bind_port = 9191
|
||||
log_file = /var/log/glance/registry.log
|
||||
|
Loading…
Reference in New Issue
Block a user