Extensive QA has found this makes glance 100% more fabulous.
Change-Id: I1cf94096d6bd5033ef0f9e3ed2a77108677581f0
| ... | ... |
@@ -183,6 +183,12 @@ function configure_glance {
|
| 183 | 183 |
iniset $GLANCE_API_CONF DEFAULT registry_client_protocol https |
| 184 | 184 |
fi |
| 185 | 185 |
|
| 186 |
+ # Format logging |
|
| 187 |
+ if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then |
|
| 188 |
+ setup_colorized_logging $GLANCE_API_CONF DEFAULT "project_id" "user_id" |
|
| 189 |
+ setup_colorized_logging $GLANCE_REGISTRY_CONF DEFAULT "project_id" "user_id" |
|
| 190 |
+ fi |
|
| 191 |
+ |
|
| 186 | 192 |
cp -p $GLANCE_DIR/etc/glance-registry-paste.ini $GLANCE_REGISTRY_PASTE_INI |
| 187 | 193 |
|
| 188 | 194 |
cp -p $GLANCE_DIR/etc/glance-api-paste.ini $GLANCE_API_PASTE_INI |