Adding logging to refreshing the repo