Change value for logging_context_format_string option

This patch make logging_context_format_string option to use right
value in devstack script

Change-Id: I1e3456014fb22d4ba0ac6cb8de470f1406179f59
Closes-Bug: #1460269
This commit is contained in:
Lan Qi song 2015-05-30 16:06:22 +08:00
parent 6f3cac6fe6
commit e666edab5f
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ function create_magnum_conf {
setup_colorized_logging $MAGNUM_CONF DEFAULT
else
# Show user_name and project_name instead of user_id and project_id
iniset $MAGNUM_CONF DEFAULT logging_context_format_string "%(asctime)s.%(msecs)03d %(levelname)s %(name)s [%(request_id)s %(user_name)s %(project_name)s] %(instance)s%(message)s"
iniset $MAGNUM_CONF DEFAULT logging_context_format_string "%(asctime)s.%(msecs)03d %(levelname)s %(name)s [%(request_id)s %(user)s %(project)s] %(instance)s%(message)s"
fi
# Register SSL certificates if provided