Correct logging_context_format_string for Heat

We should use "tenant" and "user" instead of "project_name" and
"user_name" by calling setup_colorized_logging with these parameters.

Change-Id: I47820c890bf4585e7c8f64c41f48d7576ca56862
Closes-Bug: 1237314
This commit is contained in:
Arata Notsu 2013-10-09 18:49:32 +09:00
parent 67f7da2de2
commit 4897ff55d7

View File

@ -86,7 +86,7 @@ function configure_heat() {
iniset $HEAT_CONF DEFAULT use_syslog $SYSLOG iniset $HEAT_CONF DEFAULT use_syslog $SYSLOG
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
# Add color to logging output # Add color to logging output
setup_colorized_logging $HEAT_CONF DEFAULT setup_colorized_logging $HEAT_CONF DEFAULT tenant user
fi fi
# keystone authtoken # keystone authtoken