log to stdout/stderr
modify glance and keystone images to log to stdout/stderr, so that logs can be recovered using "docker logs". Change-Id: I18470c13142ceaf2f10c32e10f5e835ddaf58550
This commit is contained in:
parent
282345c12e
commit
8313834d16
@ -22,9 +22,10 @@ export OS_TENANT_NAME="${ADMIN_TENANT_NAME}"
|
||||
EOF
|
||||
|
||||
for cfg in /etc/glance/glance-api.conf /etc/glance/glance-registry.conf; do
|
||||
crudini --del $cfg \
|
||||
crudini --set $cfg \
|
||||
DEFAULT \
|
||||
log_file
|
||||
log_file \
|
||||
""
|
||||
|
||||
for option in auth_protocol auth_host auth_port; do
|
||||
crudini --del $cfg \
|
||||
|
@ -25,9 +25,10 @@ crudini --set /etc/keystone/keystone.conf \
|
||||
DEFAULT \
|
||||
admin_token \
|
||||
"${KEYSTONE_ADMIN_TOKEN}"
|
||||
crudini --del /etc/keystone/keystone.conf \
|
||||
crudini --set /etc/keystone/keystone.conf \
|
||||
DEFAULT \
|
||||
log_file
|
||||
log_file \
|
||||
""
|
||||
crudini --del /etc/keystone/keystone.conf \
|
||||
DEFAULT \
|
||||
log_dir
|
||||
|
Loading…
x
Reference in New Issue
Block a user