Glance: Allow configuring default_log_levels
Allow a custom value for 'default_log_levels' to be set for both the Glance registry and API. Allows setting 'eventlet.wsgi.server=DEBUG' which is useful for tracking each HTTP request. Also allows setting a log level for any middleware etc. Change-Id: I2a791b707fd91ba2d4ca7217b5189969a110c0c9
This commit is contained in:
parent
540573fb17
commit
a73d459c77
@ -24,6 +24,8 @@ glance:
|
||||
log-file: ''
|
||||
- The path of the file to use for logging messages from Glance’s API server.
|
||||
- The default is unset, which implies stdout.
|
||||
default-log-levels:
|
||||
- Logging: fine tune default log levels
|
||||
registry:
|
||||
verbose: False
|
||||
- Show more verbose log output (sets INFO log level output)
|
||||
@ -32,3 +34,5 @@ glance:
|
||||
log-file: ''
|
||||
- The path of the file to use for logging messages from Glance’s Registry server.
|
||||
- The default is unset, which implies stdout.
|
||||
default-log-levels:
|
||||
- Logging: fine tune default log levels
|
||||
|
@ -40,6 +40,10 @@ notifier_strategy = {{glance.api.notifer-strategy}}
|
||||
notifier_strategy = {{glance.notifer-strategy}}
|
||||
{{/glance.notifier-strategy}}
|
||||
|
||||
{{#glance.api.default-log-levels}}
|
||||
default_log_levels = {{glance.api.default-log-levels}}
|
||||
{{/glance.api.default-log-levels}}
|
||||
|
||||
# New style hierarchic (glance.api) params
|
||||
{{#glance.api.log-file}}
|
||||
log_file = {{glance.api.log-file}}
|
||||
|
@ -25,6 +25,10 @@ log_file = {{glance.registry.log-file}}
|
||||
log_file = {{glance.log-file}}
|
||||
{{/glance.log-file}}
|
||||
|
||||
{{#glance.registry.default-log-levels}}
|
||||
default_log_levels = {{glance.registry.default-log-levels}}
|
||||
{{/glance.registry.default-log-levels}}
|
||||
|
||||
bind_host = 0.0.0.0
|
||||
bind_port = 9191
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user