Merge "[devstack] enable logging to stderr"
This commit is contained in:
commit
78ae6fd072
@ -101,8 +101,8 @@ function configure_barbican {
|
||||
# Copy functional test config
|
||||
cp $BARBICAN_DIR/etc/barbican/barbican-functional.conf $BARBICAN_CONF_DIR
|
||||
|
||||
# Do not set to DEBUG
|
||||
iniset $BARBICAN_CONF DEFAULT debug False
|
||||
# Enable DEBUG
|
||||
iniset $BARBICAN_CONF DEFAULT debug True
|
||||
|
||||
# Set the host_href
|
||||
iniset $BARBICAN_CONF DEFAULT host_href "$BARBICAN_HOST_HREF"
|
||||
@ -110,6 +110,9 @@ function configure_barbican {
|
||||
# Set the log file location
|
||||
iniset $BARBICAN_CONF DEFAULT log_file "$BARBICAN_API_LOG_DIR/barbican.log"
|
||||
|
||||
# Enable logging to stderr to have log also in the screen window
|
||||
iniset $BARBICAN_CONF DEFAULT use_stderr True
|
||||
|
||||
# Format logging
|
||||
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
|
||||
setup_colorized_logging $BARBICAN_CONF DEFAULT project user
|
||||
|
Loading…
x
Reference in New Issue
Block a user