Added config param for rebalance retries and local log file auto-cleaup logic