Browse code

Correct logging_context_format_string for Ironic

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

Closes-Bug: #1467942
Change-Id: I484ef431ac422e25545391ed41fab45060a7b821

Lucas Alvares Gomes authored on 2015/06/23 22:16:39
Showing 1 changed files
... ...
@@ -285,7 +285,7 @@ function configure_ironic {
285 285
 
286 286
     # Format logging
287 287
     if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
288
-        setup_colorized_logging $IRONIC_CONF_FILE DEFAULT
288
+        setup_colorized_logging $IRONIC_CONF_FILE DEFAULT tenant user
289 289
     fi
290 290
 
291 291
     if [[ "$IRONIC_IPXE_ENABLED" == "True" ]]; then