Enable colors for Sahara log

Change-Id: If915be21a7090c93e0be4c1961058c155ed9ca2c
This commit is contained in:
Luigi Toscano 2014-04-03 19:24:57 +02:00
parent 995e10cbf7
commit b4bef1fd1c

View File

@ -142,6 +142,11 @@ function configure_sahara {
iniset $SAHARA_CONF_FILE DEFAULT use_syslog $SYSLOG
# Format logging
if [ "$LOG_COLOR" == "True" ] && [ "$SYSLOG" == "False" ]; then
setup_colorized_logging $SAHARA_CONF_FILE DEFAULT
fi
recreate_database sahara utf8
$SAHARA_BIN_DIR/sahara-db-manage --config-file $SAHARA_CONF_FILE upgrade head
}