Skip to content

Commit

Permalink
Add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Aug 22, 2024
1 parent 300356e commit 2bc8ab4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ protected abstract void handleXdsResource(String path, String contentAsText, Str
* Must be executed by {@link #executor()}.
*/
protected void init() {
logger.info("Initializing {}...", getClass().getSimpleName());
final Builder<CompletableFuture<Void>> futures = ImmutableList.builder();
for (Repository repository : xdsProject.repos().list().values()) {
final String groupName = repository.name();
Expand Down Expand Up @@ -117,6 +118,7 @@ protected void init() {
CompletableFuture.allOf(futures.build().toArray(new CompletableFuture[0])).join();
// Watch dogma repository to add newly created xDS projects.
watchDogmaRepository();
logger.info("{} initialized.", getClass().getSimpleName());
}

private void watchDogmaRepository() {
Expand Down

0 comments on commit 2bc8ab4

Please sign in to comment.