If enabled, setup colorized logging for Ironic API and Conductor.
Change-Id: I8c6d60185dd7907a0f9aa46fd1ae7a92f53406d0
| ... | ... |
@@ -147,6 +147,11 @@ function configure_ironic {
|
| 147 | 147 |
configure_ironic_api |
| 148 | 148 |
fi |
| 149 | 149 |
|
| 150 |
+ # Format logging |
|
| 151 |
+ if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then |
|
| 152 |
+ setup_colorized_logging $IRONIC_CONF_FILE DEFAULT |
|
| 153 |
+ fi |
|
| 154 |
+ |
|
| 150 | 155 |
if [[ "$IRONIC_BAREMETAL_BASIC_OPS" == "True" ]]; then |
| 151 | 156 |
configure_ironic_auxiliary |
| 152 | 157 |
fi |